Lesson 11 · Plotting
What you will learn in this lesson
- What is
- How to make plots
- How to filter data
- How layers work in
- How to customize plots
- How to use RStudio to find errors
- How to apply themes to plots
- What is
ggplot2
- How to make plots
- How to filter data
- How layers work in
ggplot2
- How to customize plots
- How to use RStudio to find errors
- How to apply themes to plots
We saw in lesson 4 that base R has workable plotting capabilities. But base plots are not that great.
Luckily for us, the Tidyverse comes with a terrific plotting library: ggplot2
. ggplot2
is probably one of the most, if not the most, consequential library in R.
ggplot2
is a powerhouse and can feel intimidating. In my opinion, ggplot2
is like everything else: much less intimidating once we understand how it works.