Get code working again

This commit is contained in:
Hadley Wickham
2021-04-19 09:31:38 -05:00
parent 78ab61f284
commit c88a907d4a
4 changed files with 25 additions and 1 deletions

View File

@@ -1056,6 +1056,10 @@ So far you've learned how to tidy `table2`, `table4a`, and `table4b`, but not `t
To fix this problem, we'll need the `separate()` function.
You'll also learn about the complement of `separate()`: `unite()`, which you use if a single variable is spread across multiple columns.
```{r}
library(tidyr)
```
### Separate
`separate()` pulls apart one column into multiple columns, by splitting wherever a separator character appears.