| geom_pointrange {ggplot2} | R Documentation |
An interval represented by a vertical line, with a point in the middle
geom_pointrange(mapping = NULL, data = NULL, stat = "identity",
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\_pointrange, see layer and qplot for how to create a complete plot from individual components.
A layer
The following aesthetics can be used with geom\_pointrange. Aesthetics are mapped to variables in the data with the aes function: geom\_pointrange(aes(x = var))
x: x position (required)
y: y position (required)
ymin: bottom (vertical minimum) (required)
ymax: top (vertical maximum) (required)
colour: border colour
size: size
linetype: line type
shape: shape of point
fill: internal colour
alpha: transparency
Hadley Wickham, http://had.co.nz/
## Not run: # See geom_linerange for examples ## End(Not run)