group_variables: Helper function that combines clustering variables and...

Description Usage Arguments Value Examples

View source: R/group_variables.R

Description

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

Usage

1
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

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

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