plot_vars_by_comp function

Plot variable to component matrix of ADPROCLUS solution

Plot variable to component matrix of ADPROCLUS solution

Produce a representation of variable to component matrix BB' 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 environment x <- stackloss # Quick low dimensional clustering with K = 3 clusters and S = 1 dimensions clust <- adproclus_low_dim(x, 3, 1) # Plot the matrix B', connecting components with variables plot_vars_by_comp(clust)
  • Maintainer: Henry Heppe
  • License: GPL (>= 3)
  • Last published: 2024-08-17