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