removeHighVIF: Removes columns with high multicollinearity automatically...

Description Usage Arguments

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 4, 2019, 11:59 a.m.