stat_step {ggplot2} | R Documentation |
Create stair steps
stat_step(mapping=NULL, data=NULL, geom="path", position="identity", ...)
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 |
This page describes stat_step, see layer
and qplot
for how to create a complete plot from individual components.
A layer
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))
x
: x position (required)
y
: y position (required)
Hadley Wickham, http://had.co.nz/
## Not run: # See geom_step for examples ## End(Not run)