Ggplot - Geom (geometric objects) - type of plot


Geom is a short for geometric objects that describe the type of plot produced.

  • point for point (to create a scatterplot)
  • line for a line

The geom_… functions are shortcuts for a layer set to a geom with a default statistic.:

  • geom_point is layer with a point geom


Geoms define the basic “shape” of the elements on the plot

Powered by ComboStrap