powered by
Plots tree that illustrates the results of cluster_variables function.
# S3 method for cluster_variables plot(x, p = NULL, show_labels = TRUE, axis_lab_size = 10, text_size = 3, ...)
cluster_variables or hclust object
cluster_variables
hclust
correlation value for cutoff level, if not NULL, cutoff line will be drawn
if TRUE, plot will have annotated axis Y
size of labels on axis Y, if applicable
size of labels annotating values of correlations
other parameters
plot
# NOT RUN { library("DALEX") dragons_data <- dragons[,c(2,3,4,7,8)] cv <- cluster_variables(dragons_data, clust_method = "complete") plot(cv, p = 0.7) # }
Run the code above in your browser using DataLab