stat_step {ggplot2}R Documentation

stat_step

Description

Create stair steps

Usage

stat_step(mapping=NULL, data=NULL, geom="path", 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_step, 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 stat_step. Aesthetics are mapped to variables in the data with the aes function: stat\_step(\code{aes}(x = var))

Author(s)

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

See Also

Examples

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

[Package ggplot2 version 0.6 Index]