plot.cluster_variables: Plots tree with correlation values

Description Usage Arguments Value Examples

View source: R/group_variables.R

Description

Plots tree that illustrates the results of cluster_variables function.

Usage

1
2
## S3 method for class 'cluster_variables'
plot(x, p = NULL, show_labels = TRUE, axis_lab_size = 10, text_size = 3, ...)

Arguments

x

cluster_variables or hclust object

p

correlation value for cutoff level, if not NULL, cutoff line will be drawn

show_labels

if TRUE, plot will have annotated axis Y

axis_lab_size

size of labels on axis Y, if applicable

text_size

size of labels annotating values of correlations

...

other parameters

Value

plot

Examples

1
2
3
4
library("DALEX")
dragons_data <- dragons[,c(2,3,4,7,8)]
cv <- cluster_variables(dragons_data, clust_method = "complete")
plot(cv, p = 0.7)

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