eMixMargDen
assumes that a multivariate mixture of normals has been fitted
via MCMC (using rnmixGibbs
). For each MCMC draw, the marginal densities
for each component in the multivariate mixture are computed on a user-supplied
grid and then averaged over draws.eMixMargDen(grid, probdraw, compdraw)
rnmixGibbs
.rnmixGibbs