Fix small problems

This commit is contained in:
Hadley Wickham 2022-11-11 09:41:59 -06:00
parent 1476c94ea2
commit 64a5123400
2 changed files with 1 additions and 3 deletions

View File

@ -156,7 +156,7 @@ This error arises because you're calling the function with no input, e.g.:
median() median()
``` ```
### Calling multiple funcitons ### Calling multiple functions
In more complex cases, you might want to supply additional arguments or perform multiple transformations. 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? Lets motivate this problem with a simple example: what happens if we have some missing values in our data?

View File

@ -79,8 +79,6 @@ x <- c(1, 4, 5, 7, -99)
na_if(x, -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 ### 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. 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.