Description Usage Arguments Value Author(s) Examples
This function calculate the Variance Inflation Factor for all the variables in a matrix.
1 |
x |
Dataframe. Each column in this dataframe that should be a variables to compute the VIF. |
v |
Optional character or numeric vector. It should specify a subset of variables by its name or its column number in the x matrix. If v is not provided vif are calculated for all the variables in x. |
The function return a numeric vector with a VIF value of each variable (column) in the x matrix.
Diego Nieto Lugilde
1 2 3 4 5 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.