| 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 |
The aesthetic mapping, usually constructed with
|
data |
A layer specific dataset - only needed if you want to override the plot defaults. |
stat |
The statistical transformation to use on the data for this layer. |
position |
The position adjustment to use for overlapping points on this layer |
... |
other arguments passed on to |
geom_pointrange understands the following aesthetics (required aesthetics are in bold):
x
y
ymax
ymin
alpha
colour
fill
linetype
shape
size
geom_errorbar for error bars,
geom_linerange for range indicated by straight line, + examples,
geom_crossbar for hollow bar with middle indicated by horizontal line,
stat_summary for examples of these guys in use,
geom_smooth for continuous analog"
# See geom_linerange for examples