stat_hline {ggplot2}R Documentation

stat_hline

Description

Add a horizontal line

Usage

stat_hline(mapping=NULL, data=NULL, geom="hline", position="identity", intercept, ...)

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
intercept NULL
... ignored

Details

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

Value

A layer

Author(s)

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

See Also

Examples

## Not run: 

## End(Not run)

[Package ggplot2 version 0.8.2 Index]