vif: vif

View source: R/faraway.R

vifR Documentation

vif

Description

vif

Usage

vif(object)

## Default S3 method:
vif(object)

## S3 method for class 'lm'
vif(object)

Arguments

object

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

Details

Computes the variance inflation factors

Value

variance inflation factors

Author(s)

Julian Faraway

Examples


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


faraway documentation built on Aug. 23, 2022, 5:08 p.m.

Related to vif in faraway...