Recap
This workshop covered:
- what dplyr package is used for,
- how to manipulate rows and columns,
- and how to combine multiple manipulations.
Now you are equipped to do basic data manipulation tasks in R with dplyr.
Topics for further learning:
- the comparison of the functions from dplyr package and similar functions from the base R package, such as some shown in STAT 545,
- optional arguments in each function that help control certain features,
- various kinds of functions to use with
mutate()
andsummarise()
, such as some shown in the dplyr Cheat Sheet, - manipulate multiple variables at once, such as some shown in the dplyr Cheat Sheet.
Practice and use additional resources to build your skill to the next level. You can also attend other workshops or book a consultation with the research commons.
Resources
- Workshops
- Book a consultation
- vignette(“dplyr”)
- Chapter 4 Data transformation in the book R for Data Science (2e) by Hadley Wickham and Garrett Grolemund
- Chapter 6 Introduction to dplyr in the textbook for STAT 545 by Jenny Bryan and The STAT 545 TAs