Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fortify

Supplement the data fitted to a caret ensemble model with model fit statistics


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

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

Ensembles of Caret Models

v2.0.1
MIT + file LICENSE
Authors
Zachary A. Deane-Mayer [aut, cre], Jared E. Knowles [aut]
Initial release
2019-12-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.