geom_crossbar {ggplot2}R Documentation

geom_crossbar

Description

Hollow bar with middle indicated by horizontal line

Usage

geom_crossbar(mapping=NULL, data=NULL, stat="identity", position="identity", fatten=2, ...)

Arguments

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
fatten a multiplicate factor to fatten middle bar by
... other arguments

Details

This page describes geom_crossbar, 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 geom_crossbar. Aesthetics are mapped to variables in the data with the aes function: geom\_crossbar(\code{aes}(x = var))

Author(s)

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

See Also

Examples

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

[Package ggplot2 version 0.8.2 Index]