View source: R/variance_inflation.R
vif | R Documentation |
Variance inflation factor
Variance inflation factor (lm
model)
Variance inflation factor (data.frame)
Variance inflation factor (default routine)
vif(mod, ...)
## S3 method for class 'lm'
vif(mod, ...)
## S3 method for class 'data.frame'
vif(mod, ...)
## Default S3 method:
vif(mod, ...)
mod |
A model object (or data.frame). For the moment only |
... |
not used |
a matrix with for each variable de variance inflation factor, the degrees of freedom en the rescaled variance inflation factor based on the degrees of freedom.
{
vif(airquality)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.