plot.pugmm: Plotting method for 'pugmm' object

View source: R/plot.pugmm.R

plot.pugmmR Documentation

Plotting method for pugmm object

Description

Plots for Parsimonious Ultrametric Gaussian Mixture Models results, such as BIC and path diagrams.

Usage

## S3 method for class 'pugmm'
plot(x, what = NULL, nrow = NULL, ncol = NULL, cluster_names = NULL, ...)

Arguments

x

Output from pugmm.

what

A string specifying the type of graph requested. Available choices are:

"BIC"

Plot of BIC values for the fitted models. For each G, the best BIC among the ones corresponding to different m is displayed.

"Path Diagram"

Path diagram representation of the extended ultrametric covariance matrix per component for the best model.

nrow

Number of rows in the graphical window. A new graphical window is opened every 6 plots, i.e., components of pugmm.

ncol

Number of columns in the graphical window. A new graphical window is opened every 6 plots, i.e., components of pugmm.

cluster_names

String of dimension G with the clusters/components' name.

...

Other graphics parameters.

See Also

pugmm()

Examples

data(penguins)
x <- scale(penguins[, 2:5])
pugmm.penguins <- pugmm(x, 3, 1)
plot.pugmm(pugmm.penguins, what = c("BIC", "Path Diagram"))

PUGMM documentation built on June 24, 2025, 1:08 a.m.

Related to plot.pugmm in PUGMM...