ExtractResponseVariable: Extract response variable from dataframe

Description Usage Arguments Details Examples

Description

ExtractResponseVariable() allows the user to take a data table or dataframe dataset and extract a 'response' vector indicated by response.name. All remaining columns are collated into a matrix of co-variates or 'predictors'.

Usage

1

Arguments

dataset

A matrix, datatable, or dataframe

Details

ExtractResponseVariable() returns the response vector and predictor matrix as a two-item list.

Called from within Select()

Examples

1
\code{\link[GA]{Select}}

stat243proj/GA documentation built on May 15, 2019, 5:03 a.m.