removeHighVIF: Removes columns with high multicollinearity automatically...

Description Usage Arguments

View source: R/preProcess.r

Description

Removes columns with high multicollinearity automatically based on VIF. Can also include list of columns to keep, but these will be added at the end of the consecutive search so it'll retain any multicollinearity.

Usage

1
removeHighVIF(df, vifCutoff = 4, colsToKeep = NULL)

Arguments

df

data frame

vifCutoff

VIF cutoff to use (default = 4)

colsToKeep

columns to manually keep


wtcooper/modUtils documentation built on May 28, 2017, 6:35 a.m.