Plot of a Dirichlet process mixture of skew normal distribution partition
plot_DPMsn(
z,
c,
i = "",
alpha = "?",
U_SS,
dims2plot = 1:nrow(z),
ellipses = ifelse(length(dims2plot) < 3, TRUE, FALSE),
gg.add = list(theme()),
nbsim_dens = 1000
)data matrix d x n with d dimensions in rows
and n observations in columns.
allocation vector of length n indicating which observation belongs to which
clusters.
current MCMC iteration number.
current value of the DP concentration parameter.
a list containing "xi", "psi", "S", and "df".
index vector, subset of 1:d indicating which dimensions should be drawn.
Default is all of them.
a logical flag indicating whether ellipses should be drawn around clusters. Default
is TRUE if only 2 dimensions are plotted, FALSE otherwise.
A list of instructions to add to the ggplot2 instruction (see gg-add).
Default is list(theme()), which adds nothing to the plot.
number of simulated points used for computing clusters density contours in 2D
plots. Default is 1000 points.
Boris Hejblum