extractModFrame: Extract a dataframe of all predictors used in a caretEnsemble...

View source: R/caretEnsemble.R

extractModFrameR Documentation

Extract a dataframe of all predictors used in a caretEnsemble object.

Description

This function constructs a dataframe consisting of the outcome and all of the predictors used in any of the models ensembled in a caretEnsemble object.

Usage

extractModFrame(model)

Arguments

model

a caretEnsemble to extract predictors from

Value

A data.frame combining all of the variables used across all models.


caretEnsemble documentation built on Sept. 20, 2023, 5:08 p.m.