Plot of a Dirichlet process mixture of skew t-distribution partition
Source:R/plot_DPMst.R
plot_DPMst.RdPlot of a Dirichlet process mixture of skew t-distribution partition
Arguments
- z
data matrix
d x nwithddimensions in rows andnobservations in columns.- c
allocation vector of length
nindicating which observation belongs to which clusters.- i
current MCMC iteration number.
- alpha
current value of the DP concentration parameter.
- U_SS
a list containing
"xi","psi","S", and"df".- dims2plot
index vector, subset of
1:dindicating which dimensions should be drawn. Default is all of them.- ellipses
a logical flag indicating whether ellipses should be drawn around clusters. Default is
TRUEif only 2 dimensions are plotted,FALSEotherwise.- gg.add
A list of instructions to add to the
ggplot2instruction (seegg-add). Default islist(theme()), which adds nothing to the plot.- nbsim_dens
number of simulated points used for computing clusters density contours in 2D plots. Default is
1000points.- nice
logical flag changing the plot looks. Default is
FALSE.