plot.MIXcluster: Plotting clustering results for "'MIXcluster'" objects

View source: R/plot.MIXcluster.R

plot.MIXclusterR Documentation

Plotting clustering results for "MIXcluster" objects

Description

Plotting method for objects inheriting from class "MIXcluster".

Usage

## S3 method for class 'MIXcluster'
plot(
  x,
  type = c("heatmap", "chain")[1],
  chain.obj = c("n.cluster", "a", "b", "Lambda", "Omega", "all")[1],
  ...
)

Arguments

x

an object of class "MIXcluster"

type

what type of plot should be drawn. Possible types are:

"heatmap"

(default) draws a heatmap of the average similarity matrix for the effective iterations of the MCMC.

"chain"

for the evolution and histograms of the chains for parameters in the model.

chain.obj

if type="chain", this specifies what chain will be plotted. Possible types are:

"n.cluster"

(default) for the number of clusters.

"a"

for the a parameter of the model.

"b"

for the b parameter of the model.

"Lambda"

one plot for each element in the diagonal of the Λ matrix of the model (variance of latent variables).

"Omega"

one plot for each element above the diagonal of the Ω matrix of the model (correlation between latent variables).

"all"

for all of the above.

...

further arguments passed to or from other methods.

See Also

MIXclustering


christianu7/BNPMIXcluster documentation built on Sept. 10, 2022, 11:40 p.m.