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

Description Usage Arguments

View source: R/caretList.R

Description

This function extracts the y variable from a set of arguments headed to a caret::train.formula model.

Usage

1
2
## S3 method for class 'formula'
extractCaretTarget(form, data, ...)

Arguments

form

A formula of the form y ~ x1 + x2 + ...

data

Data frame from which variables specified in formula are preferentially to be taken.

...

ignored


zachmayer/caretEnsemble documentation built on Nov. 7, 2017, 5:01 a.m.