stat_boxplot {ggplot2}R Documentation

stat_boxplot

Description

Calculate components of box and whisker plot

Usage

stat_boxplot(mapping=NULL, data=NULL, geom="boxplot", position="dodge", na.rm=FALSE, coef=1.5, ...)

Arguments

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

Details

This page describes stat_boxplot, see layer and qplot for how to create a complete plot from individual components.

Value

A layer

Aesthetics

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))

Author(s)

Hadley Wickham, http://had.co.nz/

See Also

Examples

## Not run: 
# See geom_boxplot for examples
## End(Not run)

[Package ggplot2 version 0.8.2 Index]