stat_abline {ggplot2}R Documentation

stat_abline

Description

Add a line with slope and intercept

Usage

stat_abline(mapping=NULL, data=NULL, geom="abline", position="identity", ...)

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

Details

This page describes stat_abline, 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]