Lecture 4

Manipulating and Summarizing Data

October 21, 2025


Slides & Code

HTML slides • Raw qmd file • R Code


Suggested Reading (from R for Data Science (2e)1)

Chapter 4: Data transformation • Chapter 13: Logical vectors • Chapter 20: Joins


1 Hadley Wickham, Mine Çetinkaya-Rundel & Garrett Grolemund

Useful Resources

Cheatsheets

dplyr

package Website

dplyr

Crowdsource Help

CS&SS 508 Slack Workspace • Posit community • Stackoverflow