fortify: Supplement the data fitted to a caret ensemble model with...

Description Usage Arguments Value

View source: R/caretEnsemble.R

Description

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.

Usage

1
fortify(model, data = NULL, ...)

Arguments

model

a caretEnsemble to extract predictors from

data

a data set, defaults to the data used to fit the model

...

additional arguments to pass to fortify

Value

The original data with extra columns for fitted values and residuals


caretEnsemble documentation built on May 30, 2017, 6:46 a.m.