Grammar of graphics II

module 7
week 11
aesthetics
facets
ggplot
grammar of graphics
statistical transformations
Use the grammar of graphics to organize plot creation
Author

Jeff Stevens

Published

April 3, 2023

The tidyverse package {ggplot2} uses the ‘grammar of graphics’ to separate plots into seven components. Here we focus on mapping aesthetics, statistical tranformations, and facets.

Learning objectives

  • Apply properties across all geometric objects
  • Map aesthetics to geometrics objects globally or locally
  • Plot statistical summaries of data
  • Make subplots of data with facets.

Pre-meeting

To prepare for this class meeting, please do the following:

Class meeting

Homework after the class meeting

Wrap up this lesson

For next class meeting