vif.loadReg: Variance Inflation Factors

Description Usage Arguments Value See Also Examples

View source: R/vif.loadReg.R

Description

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

Usage

1
2
## S3 method for class 'loadReg'
vif(model, ...)

Arguments

model

an object of class "loadReg"—output from loadReg.

...

further arguments passed to or from other methods.

Value

further arguments passed to or from other methods.

See Also

loadReg

Examples

1
2
3
4
5
6
# From application 1 in the vignettes
data(app1.calib)
app1.lr <- loadReg(Phosphorus ~ model(1), data = app1.calib, 
 flow = "FLOW", dates = "DATES", conc.units="mg/L",
 station="Illinois River at Marseilles, Ill.")
vif(app1.lr, app1.calib)

USGS-R/rloadest documentation built on Oct. 2, 2020, 5:21 a.m.