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, ...)
The original data with extra columns for fitted values and residuals
a caretEnsemble
to extract predictors from
a data set, defaults to the data used to fit the model
additional arguments to pass to fortify