View source: R/caretEnsemble.R
fortify | R Documentation |
This function constructs a dataframe consisting of the outcome,
all of the predictors used in any of the models ensembled in a caretEnsemble
object, and some model fit statistics.
fortify(model, data = NULL, ...)
model |
a |
data |
a data set, defaults to the data used to fit the model |
... |
additional arguments to pass to fortify |
The original data with extra columns for fitted values and residuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.