plot_vars_by_comp {adproclus}R 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 = "vars_by_comp") function with model an object of class adpc.

Usage

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

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)

[Package adproclus version 2.0.0 Index]