From d9555d427683db6422d089f7f4960807261d3eab Mon Sep 17 00:00:00 2001 From: rastrau Date: Wed, 24 May 2023 20:09:53 +0200 Subject: [PATCH] Fix typo (#1497) --- missing-values.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/missing-values.qmd b/missing-values.qmd index 365f7cb..9705556 100644 --- a/missing-values.qmd +++ b/missing-values.qmd @@ -72,7 +72,7 @@ Sometimes you'll hit the opposite problem where some concrete value actually rep This typically arises in data generated by older software that doesn't have a proper way to represent missing values, so it must instead use some special value like 99 or -999. If possible, handle this when reading in the data, for example, by using the `na` argument to `readr::read_csv()`, e.g., `read_csv(path, na = "99")`. -If you discover the problem later, or your data source doesn't provide a way to handle on it read, you can use `dplyr::na_if()`: +If you discover the problem later, or your data source doesn't provide a way to handle it on read, you can use `dplyr::na_if()`: ```{r} x <- c(1, 4, 5, 7, -99)