group_variables {triplot}R Documentation

Helper function that combines clustering variables and creating aspect list

Description

Divides correlated features into groups, called aspects. Division is based on correlation cutoff level.

Usage

group_variables(x, h, clust_method = "complete", cor_method = "spearman")

Arguments

x

hclust object

h

correlation value for tree cutting

clust_method

the agglomeration method to be used see hclust methods

cor_method

the correlation method to be used see cor methods

Value

list with aspect

Examples

library("DALEX")
dragons_data <- dragons[,c(2,3,4,7,8)]
group_variables(dragons_data, h = 0.5, clust_method = "complete")


[Package triplot version 1.3.0 Index]