vif(mod, ...)
## S3 method for class 'default':
vif(mod, ...)coef, vcov, and
model.matrix, such as an lm or glm obvif(lm(prestige ~ income + education, data=Duncan))
vif(lm(prestige ~ income + education + type, data=Duncan))Run the code above in your browser using DataLab