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

Description Usage Arguments See Also

View source: R/plot.MIXcluster.R

Description

Plotting method for objects inheriting from class "MIXcluster".

Usage

1
2
3
4
5
6
7
## 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


BNPMIXcluster documentation built on Nov. 30, 2020, 5:07 p.m.