Boxplots from Carlson 2017
ggplot()
takes the data frame as an argument.aes()
serves to map aesthetics (axis x and y, colors etc.) to different variables from your data frame.geom_
prefix are geometries, ie. types of plots to draw. You can set specific arguments such as the color or shape here.+
after each layer of the ggplotGeoms for one variable:
geom_histogram()
geom_density()
geom_bar()
Distribution of dart point weights.
data =
and mapping =
Distribution of dart point weights.
Distribution of types of dart points.