split_x_and_y: Split a Data Set into Predictors and Target.

Description Usage Arguments Value

Description

split_x_and_y splits the input data set into the predictors x and the target y.

Usage

1

Arguments

data

A data frame containing both predictors and target variables.

target

The column index or the name of the target variable. If not provided the target is assumed to be the last column of data.

Value

A list containing the predictors (x) and the target (y) variables.


RomeroBarata/dcme documentation built on May 9, 2019, 2:24 p.m.