CVEN 5837 - Summer 2022
Lars Schöbitz
Example: “How to remove a legend from a plot in R ggplot2”
What is it?
Workflow
ggplot2
ggplot2
gg
in ggplot2
stands for Grammar of Graphicsggplot()
is the main function in ggplot210:00
discrete variables
continuous variables
categorical variables
Commonly used in the Global Engineering and Development sector
Read the paper (it’s part of your homework), but you can also:
Because it will make your life easier!
(https://github.com/kbroman/Talk_DataOrg) .footnote[Screenshot taken on 2022-03-23]
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.
https://cven5837-ss22.github.io/website/