vif_plot.Rd
Plots the variance inflations factors (VIF) for a linear model.
vif_plot(x)
an object of class "lm"
.
a ggplot2 graph
This function plots results from the vif function from
the car
package. VIFs larger than 5 are highlighted.
If all terms in an unweighted linear model have 1 df, then the usual variance-inflation factors are calculated. If any terms in an unweighted linear model have more than 1 df, then generalized variance-inflation factors (Fox and Monette, 1992) are calculated.
Fox, J. and Monette, G. (1992) Generalized collinearity diagnostics. JASA, 87, 178–183.