Lecture 6: Factors, Intermediate dplyr
Info and Materials
- Date: July 15, 2025
- Topics: Using Factors in R, Deep Dive into dplyr
- Slides: View Slides
- Code:
usethis::use_course("csp-materials/factors-more-dplyr")
Learning Objectives
- Understand what factors are in R and how to use them effectively
- Strengthen and expand your ability to manipulate data using
dplyr
functions (“verbs”)
Before Class
- Review the Lecture 5 materials to get ready for today’s in-class quiz
- Bring your laptop to every class
Readings
Skim the readings before or after class to get the big picture and prep for quizzes and assignments:
- “Chapter 16 Factors” from “R for Data Science” 2nd Edition
- “Chapter 3 Data Transformation” from “R for Data Science” 2nd Edition (This is the same Chapter from Lecture 4)