extractCaretTarget: Extracts the target variable from a set of arguments headed...

View source: R/caretList.R

extractCaretTargetR Documentation

Extracts the target variable from a set of arguments headed to the caret::train function.

Description

This function extracts the y variable from a set of arguments headed to a caret::train model. Since there are 2 methods to call caret::train, this function also has 2 methods.

Usage

extractCaretTarget(...)

Arguments

...

a set of arguments, as in the caret::train function


caretEnsemble documentation built on Sept. 13, 2024, 1:11 a.m.