Various geoms
geom_point()
: Add points
geom_smooth()
: Fit and display smoother (e.g., regression line + standard error)
geom_boxplot()
: Produces box-and-whisker plot to summarize distribution(s)
geom_histogram()
and geom_freqpoly()
: Show the distribution of continuous variables
geom_bar()
: Show distribution of categorical variables
geom_path()
and geom_line()
: Draw lines between data points
- Constrained to produce lines that travel from left to right (
geom_path
can go in any direction)
- These are probably not all geoms!
- Important
- If
aes()
is set within ggplot()
, they are inherited by other geoms that built on top.
- If
aes()
is set within geom_*()
it will only used within that geom.