From 64a51234008f22daf6947755785d9ae71f677a29 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Fri, 11 Nov 2022 09:41:59 -0600 Subject: [PATCH] Fix small problems --- iteration.qmd | 2 +- missing-values.qmd | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/iteration.qmd b/iteration.qmd index ddf69e2..1a159e5 100644 --- a/iteration.qmd +++ b/iteration.qmd @@ -156,7 +156,7 @@ This error arises because you're calling the function with no input, e.g.: median() ``` -### Calling multiple funcitons +### Calling multiple functions In more complex cases, you might want to supply additional arguments or perform multiple transformations. Lets motivate this problem with a simple example: what happens if we have some missing values in our data? diff --git a/missing-values.qmd b/missing-values.qmd index 40708dc..2b57f86 100644 --- a/missing-values.qmd +++ b/missing-values.qmd @@ -79,8 +79,6 @@ x <- c(1, 4, 5, 7, -99) na_if(x, -99) ``` -In @sec-across-missing-values, you'll learn how to easily apply these tools to (e.g.) every numeric column in a data frame. - ### NaN Before we continue, there's one special type of missing value that you'll encounter from time to time: a `NaN` (pronounced "nan"), or **n**ot **a** **n**umber.