Learn R Programming

faraway (version 1.0.7)

vif: vif

Description

Computes the variance inflation factors

Usage

vif(object)

Value

variance inflation factors

Arguments

object

a data matrix (design matrix without intercept) or a model object

Author

Julian Faraway

Examples

Run this code
data(stackloss)
vif(stackloss[,-4])
#  Air.Flow Water.Temp Acid.Conc. 
#    2.9065     2.5726     1.3336 

Run the code above in your browser using DataLab