Learn R Programming

faraway (version 1.0.8)

vif: vif

Description

vif

Usage

vif(object)

# S3 method for default vif(object)

# S3 method for lm vif(object)

Value

variance inflation factors

Arguments

object

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

Author

Julian Faraway

Details

Computes the variance inflation factors

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