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