Description Usage Arguments Value Examples
View source: R/multicollinearity.R
This function receives aan input dat, linear regression model and vif threshold, and outputs VIF for each feature along with a statement whether or not the multicollinearity assumption is violated.
1 | multicollinearity(data, formula, vif_threshold = 10)
|
data |
a dataframe containing predictor data |
formula |
a formula in the format "y ~ x1 + x2 + ..." indicating regression variables |
vif_threshold |
a float indicating threshold for VIF |
a dataframe containing VIF coefficients and a statement whether the assumption is violated.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.