Mapping data to graphics
Lesson for Monday, September 9, 2024–Friday, September 13, 2024
Part 1: Data visualization with {ggplot2}
For the first part of this week’s lesson, you need to work through Posit’s introductory primers for {ggplot2}. You’ll do these in your browser and type code and see results there.
It seems like there are a lot, but they’re short and go fairly quickly (especially as you get the hang of the ggplot()
syntax). Complete these:
Part 2: Reshaping data with {tidyr}
For the last part of this week’s lesson, you’ll work through just one primer to learn how to use the {tidyr} package to reshape data from wide to long and back to wide.
Complete this:
- Tidy Your Data