list_variables: Cuts tree at custom height and returns a list

Description Usage Arguments Value Examples

View source: R/group_variables.R

Description

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

Usage

1

Arguments

x

hclust object

h

correlation value for tree cutting

Value

list of aspects

Examples

1
2
3
4
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)

triplot documentation built on July 13, 2020, 5:08 p.m.