CVEN 5999 - Summer 2025
Example: “How to remove a legend from a plot in R ggplot2”
What is it?
Workflow
Example: “How to remove a legend from a plot in R ggplot2”
ggplot2
ggplot2
gg
in ggplot2
stands for Grammar of Graphicsggplot()
is the main function in ggplot2Follow along on the screen
10:00
discrete variables
continuous variables
categorical variables
Read the paper (it’s part of your homework), but you can also:
Because it will make your life easier!
Slides created via revealjs and Quarto: https://quarto.org/docs/presentations/revealjs/
Access slides as PDF on GitHub
All material is licensed under Creative Commons Attribution Share Alike 4.0 International.