fortify
From ggplot2 v0.9.0
by Hadley Wickham
Fortify a model with data.
Method to convert a generic R object into a data frame useful for plotting. Takes its name from the idea of fortifying the original data with model fit statistics, and vice versa.
Usage
fortify(model, data, ...)
Arguments
- model
- model or other R object to convert to data frame
- data
- original dataset, if needed
- ...
- other arguments passed to methods
See Also
Community examples
Looks like there are no examples yet.