plot_vars_by_comp: Plot variable to component matrix of ADPROCLUS solution

View source: R/visualize.R

plot_vars_by_compR Documentation

Plot variable to component matrix of ADPROCLUS solution

Description

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 = "VarsByComp") function with model an object of class adpc.

Usage

plot_vars_by_comp(
  model,
  title = "B' of Low Dimensional ADPROCLUS Solution",
  ...
)

Arguments

model

Object of class adpc. Must be Low dimensional ADPROCLUS solution

title

String. Default: "B' of Low Dimensional ADPROCLUS Solution"

...

Additional arguments passing to the corrplot::corrplot() function, to customize the plot

Value

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)

adproclus documentation built on Nov. 10, 2023, 1:07 a.m.