vif: vif

Description Usage Arguments Value Author(s) Examples

View source: R/faraway.R

Description

Computes the variance inflation factors

Usage

1
vif(object)

Arguments

object

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

Value

variance inflation factors

Author(s)

Julian Faraway

Examples

1
2
3
4
data(stackloss)
vif(stackloss[,-4])
#  Air.Flow Water.Temp Acid.Conc. 
#    2.9065     2.5726     1.3336 

Example output

  Air.Flow Water.Temp Acid.Conc. 
  2.906484   2.572632   1.333587 

faraway documentation built on May 1, 2019, 9:23 p.m.

Related to vif in faraway...