plot_profiles: Plot profile matrix of ADPROCLUS solution

View source: R/visualize.R

plot_profilesR Documentation

Plot profile matrix of ADPROCLUS solution

Description

Produce a representation of profile matrix P (or C for low dimensional solution) of an ADPROCLUS solution of class adpc. The plot displays the profiles in the style of a correlation plot. NOTE: This function can also be called through the plot(model, type = "Profiles") function with model an object of class adpc.

Usage

plot_profiles(model, title = "Profiles of ADPROCLUS solution", ...)

Arguments

model

Object of class adpc. (Low dimensional) ADPROCLUS solution

title

String. Default: "Profiles of 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 clustering with K = 3 clusters
clust <- adproclus(x, 3)

# Plot the profile scores of each cluster
plot_profiles(clust)

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