Readings
Readings
Readings and actively work examples in chapters
This topic is largely based on slides 1-49 of Thomas Lin Pedersen’s, excellent webinar “Plotting Anything with ggplot2”. With his permission, I divided up the video into shorter parts. The full video is here.
aes()
geom_
+
at end of line to combine ggplot2 elementsaes()
aes()
aes()
vary by geom
. Find out about mapping requirements:?geom_*
stat_*()
after_stat()
to modify output from default stats m appingaes()
mapping based in variable typeThis topic is largely based on slides 50-72 of Thomas Lin Pedersen’s, excellent webinar “Plotting Anything with ggplot2”. With his permission, I divided up the video into shorter parts. The full video is here.
website ggplot2
website patchwork
Videos
facet_*
facet_wrap(~ class)
facet_wrap(vars(class))
facet_grid(year ~ drv)
facet_grid(rows = vars(year), cols = vars(drv))