Learn R Programming

processR (version 0.2.7)

vif: Variance Inflation Factors Calculates variance-inflation and generalized variance-inflation factors for linear, generalized linear, and other models.

Description

Variance Inflation Factors Calculates variance-inflation and generalized variance-inflation factors for linear, generalized linear, and other models.

Usage

vif(mod)

Value

A vector of vifs, or a matrix containing one row for each term in the model, and columns for the GVIF, df.

Arguments

mod

an object that responds to coef, vcov, and model.matrix, such as an lm or glm object.