This function creates aspect list after cutting a cluster tree of features at a given height.
list_variables(x, h)
x | hclust object |
---|---|
h | correlation value for tree cutting |
list of aspects
library("DALEX") dragons_data <- dragons[,c(2,3,4,7,8)] cv <- cluster_variables(dragons_data, clust_method = "complete") list_variables(cv, h = 0.5)