View source: R/GenerateMulticolinearityMeasures.R
Produces variance inflation factors, eigenvalue system analysis for the fitted model.
1 | GenerateMulticolinearityMeasures(data, dv, fit, dir = "./", save.plots = TRUE)
|
data |
data.frame Data used to fit the model. Used for pair-wise correlation analysis and eigenvalue system analysis. No default. |
dv |
Character vector of length 1. Dependent variable. No default. |
fit |
lm object. Fitted model. No default |
dir |
Character vector of lenght 1. Directory in which to store the plot. Ignored if save.plot is FALSE. Defaults to "." |
save.plots |
Logical vector of length 1. If TRUE the VIF plot and correlation heatmap are saved to disk. Defaults to TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.