geom_quantile {ggplot2} | R Documentation |
Add quantile lines from a quantile regression
geom_quantile(mapping=NULL, data=NULL, stat="quantile", position="identity", ...)
mapping |
mapping between variables and aesthetics generated by aes |
data |
dataset used in this layer, if not specified uses plot dataset |
stat |
statistic used by this layer |
position |
position adjustment used by this layer |
... |
ignored |
This page describes geom_quantile, see layer
and qplot
for how to create a complete plot from individual components.
A layer
The following aesthetics can be used with geom_quantile. Aesthetics are mapped to variables in the data with the aes
function: geom\_quantile(\code{aes}(x = var))
x
: x position (required)
y
: y position (required)
weight
: observation weight used in statistical transformation
colour
: border colour
size
: size
linetype
: line type
This can be used as a continuous analogue of a geom_boxplot.
Hadley Wickham, http://had.co.nz/
geom_line
: Functional (ordered) lines
geom_polygon
: Filled paths (polygons)
geom_segment
: Line segments
## Not run: # See stat_quantile for examples ## End(Not run)