This function creates aspect list after cutting a cluster tree of features at a given height.

list_variables(x, h)

Arguments

x

hclust object

h

correlation value for tree cutting

Value

list of aspects

Examples

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)