plot.cluster_variables {triplot} | R Documentation |
Plots tree with correlation values
Description
Plots tree that illustrates the results of cluster_variables function.
Usage
## S3 method for class 'cluster_variables'
plot(x, p = NULL, show_labels = TRUE, axis_lab_size = 10, text_size = 3, ...)
Arguments
x |
|
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
library("DALEX")
dragons_data <- dragons[,c(2,3,4,7,8)]
cv <- cluster_variables(dragons_data, clust_method = "complete")
plot(cv, p = 0.7)
[Package triplot version 1.3.0 Index]