plot_DPM {NPflow} | R Documentation |
Plot of a Dirichlet process mixture of gaussian distribution partition
Description
Plot of a Dirichlet process mixture of gaussian distribution partition
Usage
plot_DPM(
z,
U_mu = NULL,
U_Sigma = NULL,
m,
c,
i,
alpha = "?",
U_SS = NULL,
dims2plot = 1:nrow(z),
ellipses = ifelse(length(dims2plot) < 3, TRUE, FALSE),
gg.add = list(theme())
)
Arguments
z |
data matrix |
U_mu |
either a list or a matrix containing the current estimates of mean vectors
of length |
U_Sigma |
either a list or an array containing the |
m |
vector of length |
c |
allocation vector of length |
i |
current MCMC iteration number. |
alpha |
current value of the DP concentration parameter. |
U_SS |
a list containing |
dims2plot |
index vector, subset of |
ellipses |
a logical flag indicating whether ellipses should be drawn around clusters. Default
is |
gg.add |
a list of instructions to add to the |
Author(s)
Boris Hejblum