NMixMCMC. It computes
  marginal (univariate) plug-in densities obtained by using posterior
  summary statistics (e.g., posterior means) of mixture weights, means
  and variances.NMixPlugDensMarg(x, ...)## S3 method for class 'default':
NMixPlugDensMarg(x, scale, w, mu, Sigma, \dots)
## S3 method for class 'NMixMCMC':
NMixPlugDensMarg(x, grid, lgrid=50, scaled=FALSE, \dots)
## S3 method for class 'GLMM_MCMC':
NMixPlugDensMarg(x, grid, lgrid=50, scaled=FALSE, \dots)
NMixPlugDensMarg.default function.    An object of class NMixMCMC for
    NMixPlugDensMarg.NMixMCMC function.
    An object of class GLMM_MCMC for
    <
shift and the
    scale. If not given, shift is equal to zero and scale is
    equal to one.mu has
    $K$ rows and $p$ columns, where $K$ denotes the number
    of mixture components and $p$ is dimension of the mixture
    distribution.    If grid is not specified, it is created automatically using
    the information from the posterior summary statistics stored in x.
grid if
    that is not specified.TRUE, the density of shifted and scaled data is
    summarized. The shift and scale vector are taken from the
    scale component of the object x.NMixPlugDensMarg which has the following components:x1, ...or take names from
    grid argument.1, ..., i.e.,
    dens[[1]]$=$dens[["1"]] is the predictive
    density for margin 1 etc.plot method implemented for the resulting object.plot.NMixPlugDensMarg, NMixMCMC,
  GLMM_MCMC, NMixPredDensMarg.