Update tidy.Rmd (#613)

Minor typo on row 288 : 'case' --> 'cases'
This commit is contained in:
Mark Beveridge
2018-06-20 09:58:17 +01:00
committed by Hadley Wickham
parent e2dc2d9e42
commit 83b0fa9132

View File

@@ -285,7 +285,7 @@ table3 %>%
(Formally, `sep` is a regular expression, which you'll learn more about in [strings].)
Look carefully at the column types: you'll notice that `case` and `population` are character columns. This is the default behaviour in `separate()`: it leaves the type of the column as is. Here, however, it's not very useful as those really are numbers. We can ask `separate()` to try and convert to better types using `convert = TRUE`:
Look carefully at the column types: you'll notice that `cases` and `population` are character columns. This is the default behaviour in `separate()`: it leaves the type of the column as is. Here, however, it's not very useful as those really are numbers. We can ask `separate()` to try and convert to better types using `convert = TRUE`:
```{r}
table3 %>%