This function makes life simple by providing a VarClus.
1 | get.vc.vif(dataset, indep, dep, varclus.threshold, vif.threshold)
|
dataset |
a data frame for data |
indep |
a vector of characters or a vector of characters for independent variables |
varclus.threshold |
a numeric for correlation coefficient threshold value |
similarity |
a character for similarity measures (e.g., Spearman rank correlation), default = spearman |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.