From 273a4810219e36b48e8560c31a2cab2fc26eddb7 Mon Sep 17 00:00:00 2001 From: hadley Date: Fri, 12 Aug 2016 12:44:36 -0500 Subject: [PATCH] Fix typos Closes #223. --- tidy.Rmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tidy.Rmd b/tidy.Rmd index 9c5482d..de5f07c 100644 --- a/tidy.Rmd +++ b/tidy.Rmd @@ -406,7 +406,7 @@ treatment <- frame_data( ) ``` -You can fill in these missing values with `fill()`. It takes a set of columns where you want missing values to be replaced by the most recent non-missing value (sometimese called last observation carried forward). +You can fill in these missing values with `fill()`. It takes a set of columns where you want missing values to be replaced by the most recent non-missing value (sometimes called last observation carried forward). ```{r} treatment %>% @@ -502,7 +502,7 @@ who3 <- who2 %>% who3 ``` -Then we might as well drop the `new` colum because it's constant in this dataset. While we're dropping columns, let's also drop `iso2` and `iso3` since they're redundant. +Then we might as well drop the `new` column because it's constant in this dataset. While we're dropping columns, let's also drop `iso2` and `iso3` since they're redundant. ```{r} who3 %>% @@ -521,7 +521,7 @@ who5 The `who` dataset is now tidy! -I've shown you the code a piece at a time, assinging each interim result to a new variable. This typically isn't how you'd work interactively. Instead, you'd gradually build up a complex pipe: +I've shown you the code a piece at a time, assigning each interim result to a new variable. This typically isn't how you'd work interactively. Instead, you'd gradually build up a complex pipe: ```{r, results = "hide"} who %>%