Description Usage Arguments Value Examples
View source: R/group_variables.R
Divides correlated features into groups, called aspects. Division is based on correlation cutoff level.
1 | group_variables(x, h, clust_method = "complete", cor_method = "spearman")
|
x |
hclust object |
h |
correlation value for tree cutting |
clust_method |
the agglomeration method to be used
see |
cor_method |
the correlation method to be used
see |
list with aspect
1 2 3 | library("DALEX")
dragons_data <- dragons[,c(2,3,4,7,8)]
group_variables(dragons_data, h = 0.5, clust_method = "complete")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.