| stat_abline {ggplot2} | R Documentation |
Add a line with slope and intercept
stat_abline(mapping = NULL, data = NULL, geom = "abline", 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\_abline, see layer and qplot for how to create a complete plot from individual components.
A layer
Hadley Wickham, http://had.co.nz/
## Not run: # See geom_abline for examples ## End(Not run)