extractModFrame {caretEnsemble}R 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.


[Package caretEnsemble version 2.0.3 Index]