Week 3, Part 2: Extending dplyr verbs
1 Learning Objectives
- apply functions to multiple columns using
across() - recognize additional useful
dplyrfunctions such aspull(),count(),distinct(), andcase_when()
📖 Readings: 15-30 min
2 Lots of functions!
We covered the main dplyr functions in the first half of the week. It is worth continuing to review those readings if it was too much or confusing the first time!
We introduced a couple more in class this week, namely pull(), count(), distinct(), and case_when(). I would recommend that you look through both the dplyr cheatsheet and the dplyr documentation to see all of the options and see examples of how to use them.