19.1 Getting started

  • All ggplots start with a base layer created with the ggplot() function:

The base layer is setting the grounds but NOT plotting anything

  • Add a layer (with the + sign) that describes what kind of plot you want.