plot.pugmm {PUGMM}R 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.

Value

No return value since this is a plot method.

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"))

[Package PUGMM version 0.1.0 Index]