vif {SecDim} | R Documentation |
Fast calculation of the variance inflation factor (VIF)
Description
Function for fast calculation of the variance inflation factor (VIF)
Usage
vif(x)
Arguments
x |
A data.frame of explanatory variables |
Value
Variance inflation factor (VIF) values of variables
Examples
data("sample_vars_sda")
x <- sample_vars_sda$Elevation[, sample(55, 10)]
vif(x)
[Package SecDim version 3.2 Index]