Plot variable to component matrix of ADPROCLUS solution
Plot variable to component matrix of ADPROCLUS solution
Produce a representation of variable to component matrix B′ of a low dimensional ADPROCLUS solution of class adpc. The plot displays the scores in the style of a correlation plot. NOTE: This function can be called through the plot(model, type = "vars_by_comp") function with model an object of class adpc.
plot_vars_by_comp(model, title =NULL, label_color ="black",...)
Arguments
model: Object of class adpc. Must be Low dimensional
ADPROCLUS solution
title: String. Optional title.
label_color: String. The color of the text labels. Default: "black"
...: Additional arguments passing to the corrplot::corrplot() function, to customize the plot
Returns
Invisibly returns the input model.
Examples
# Loading a test dataset into the global environmentx <- stackloss
# Quick low dimensional clustering with K = 3 clusters and S = 1 dimensionsclust <- adproclus_low_dim(x,3,1)# Plot the matrix B', connecting components with variablesplot_vars_by_comp(clust)