extractCaretTarget.default: 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.default model.

Usage

1
2
## Default S3 method:
extractCaretTarget(x, y, ...)

Arguments

x

an object where samples are in rows and features are in columns. This could be a simple matrix, data frame or other type (e.g. sparse matrix). See Details below.

y

a numeric or factor vector containing the outcome for each sample.

...

ignored


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