Description Usage Arguments Value Examples
View source: R/variable_selection.R
get_correlation_group
is funtion for obtaining highly correlated variable groups.
select_cor_group
is funtion for selecting highly correlated variable group.
select_cor_list
is funtion for selecting highly correlated variable list.
1 2 3 4 5 | get_correlation_group(cor_mat, p = 0.8)
select_cor_group(cor_vars)
select_cor_list(cor_vars_list)
|
cor_mat |
A correlation matrix of independent variables. |
p |
Threshold of correlation between features. Default is 0.7. |
cor_vars |
Correlated variables. |
cor_vars_list |
List of correlated variable |
A list of selected variables.
1 2 3 4 5 6 | ## Not run:
cor_mat = cor(UCICreditCard[8:20],
use = "complete.obs", method = "spearman")
get_correlation_group(cor_mat, p = 0.6 )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.