Learn R Programming

SciencesPo (version 0.11.21)

get.vif: Variance Inflation Factor

Description

Extracts Variance Inflation Factor from a model.

Usage

get.vif(model, ...)

Arguments

model
A model object.
...
Options to pass to

Value

  • A numeric value.

encoding

UTF-8

Examples

Run this code
data()
m1 <- lm(mpg ~ qsec + hp, data=mtcars)
get.vif(m1)

Run the code above in your browser using DataLab