omitLinearCombos: Omit linear combinations from a predictor matrix

Description Usage Arguments Value Note

Description

Some train methods do not play well with linear combinations in the predictor matrix. This function allows the user to strip them out using the findLinearCombos function in the caret package.

Usage

1

Arguments

preds

A matrix of predictors

Value

A trimmed matrix

Note

Built on the findLinearCombos function. To find out which columns will be trimmed, call findLinearCombos on the matrix first.


jknowles/EWStools documentation built on May 19, 2019, 11:42 a.m.