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.
fortify(model, data, ...)
- model or other R object to convert to data frame
- original dataset, if needed
- other arguments passed to methods
Looks like there are no examples yet.