Lecture 5: Data Analysis and Graphs
Info and Materials
- Date: July 10, 2025
- Topics: Data Analysis and Graphs
- Slides: View Slides
- Code:
usethis::use_course("csp-materials/eda")
Learning Objectives
- Identify best graph types (e.g., bar chart vs. histogram) based on variable types (e.g., categorical vs. numeric)
- Interpret what a graph shows about the data
- Practice using
ggplot2
anddplyr
Before Class
- Review the Lecture 4 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 10 Exploratory Data Analysis” from “R for Data Science” 2nd Edition
- Cheat sheets and documentation for
ggplot2
anddplyr
(from previous lectures)