vif: Variance Inflation Factors

Description Usage Arguments Details Value References

View source: R/smwrStats_vif.R

Description

Computes the variance inflation factor (Helsel and Hirsch, 2002) for each variable in a linear regression fit.

Usage

1
2
3
4
vif(model, ...)

## S3 method for class 'lm'
vif(model, ...)

Arguments

model

an object of class "lm." There is no default method for vif.

...

further arguments passed to or from other methods.

Details

Added from smwrStats.

Value

A named numeric vector containing the variance inflation factors for each variable.

References

Helsel, D.R. and Hirsch, R.M., 2002, Statistical methods in water resources: U.S. Geological Survey Techniques of Water-Resources Investigations, book 4, chap. A3, 522 p.


leppott/baytrends033 documentation built on July 28, 2018, 10:30 p.m.