Update tidy.Rmd (#222)

typo
This commit is contained in:
S'busiso Mkhondwane 2016-08-02 16:25:57 +02:00 committed by Hadley Wickham
parent b5aa2a7fcd
commit 2985b6d617
1 changed files with 2 additions and 2 deletions

View File

@ -260,7 +260,7 @@ So far you've learned how to tidy `table2` and `table4`, but not `table3`. `tabl
table3
```
The `rate` column contains both `cases` and `population` variable, and we need to split it into two variabes. `separate()` takes the name of the column to separate, and the names of the columns to separate into, as shown in \@ref(fig:tidy-separate) and the code below.
The `rate` column contains both `cases` and `population` variables, and we need to split it into two variables. `separate()` takes the name of the column to separate, and the names of the columns to separate into, as shown in \@ref(fig:tidy-separate) and the code below.
```{r}
table3 %>%
@ -296,7 +296,7 @@ table3 %>%
### Unite
`unite()` is inverse of `separate()`: it combines multiple columns into a single column. You'll need it much less frequently that `separate()`, but it's still a useful tool to have in your back pocket.
`unite()` is inverse of `separate()`: it combines multiple columns into a single column. You'll need it much less frequently than `separate()`, but it's still a useful tool to have in your back pocket.
![](images/tidy-18.png)