The function reads in the object named in x, builds a linear model for each of the contained variables in the data set, regressing the selected variable on all other numeric variables contained in the data set.
The multiple R-squared is computed and transformed to VIF using following formula:
\(VIF_i=\frac{1}{1-R_i^2}\)