stat_boxplot {ggplot2} | R Documentation |
Calculate components of box and whisker plot
stat_boxplot(mapping=NULL, data=NULL, geom="boxplot", position="dodge", na.rm=FALSE, coef=1.5, ...)
mapping |
mapping between variables and aesthetics generated by aes |
data |
dataset used in this layer, if not specified uses plot dataset |
geom |
geometric used by this layer |
position |
position adjustment used by this layer |
na.rm |
NULL |
coef |
NULL |
... |
ignored |
This page describes stat_boxplot, see layer
and qplot
for how to create a complete plot from individual components.
A layer
The following aesthetics can be used with stat_boxplot. Aesthetics are mapped to variables in the data with the aes
function: stat\_boxplot(\code{aes}(x = var))
x
: x position (required)
y
: y position (required)
Hadley Wickham, http://had.co.nz/
## Not run: # See geom_boxplot for examples ## End(Not run)