NMixMCMC. It computes
  estimated posterior predictive densities for each pair of margins.NMixPredDensJoint2(x, ...)## S3 method for class 'default':
NMixPredDensJoint2(x, scale, K, w, mu, Li, Krandom=TRUE, \dots)
## S3 method for class 'NMixMCMC':
NMixPredDensJoint2(x, grid, lgrid=50, scaled=FALSE, \dots)
## S3 method for class 'NMixMCMC':
NMixPredDensJoint2(x, grid, lgrid=50, scaled=FALSE, \dots)
NMixMCMC for
    NMixPredDensJoint2.NMixMCMC function.    an object of class NMixMCMC for
    NMixPlugDensJoint2.NMixMCMC function.
    
    A list with the grid values (see below) f
shift and the
    scale. If not given, shift is equal to zero and scale is
    equal to one.Krandom$=$FALSE) or a
    numeric vector with the chain for the number of mixture components.    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.NMixPredDensJoint2 which has the following components:x1, ...or take names from
    grid argument.freqK.1-2,
    1-3, ..., i.e.,
    dens[[1]]$=$dens[["1-2"]] is the pairwise predictive
    density for margins 1 and 2, etc. Each component of the list
    is a matrix in such a form that it can be directly passed together
    with the proper components of x to the plotting functions
    like contour or image.1-2, 1-3, .... That is,
    dens[[1]][[1]] $=$ dens[["1-2"]][[1]] is the
    pairwise predictive  density for margins 1 and 2 conditioned by $K=1$,
    dens[[1]][[2]] $=$ dens[["1-2"]][[2]] is the
    pairwise predictive density for margins 1 and 2 conditioned by $K=2$ etc.    Note that densK provides some additional information only
    when Krandom $=$ TRUE or when x results from
    the NMixMCMC call to the reversible jump MCMC.
plot method implemented for the resulting object.plot.NMixPredDensJoint2, NMixMCMC,
  GLMM_MCMC, NMixPredDensMarg.## See additional material available in 
## YOUR_R_DIR/library/mixAK/doc/
## or YOUR_R_DIR/site-library/mixAK/doc/
## - files Galaxy.pdf, Faithful.pdf, Tandmob.pdfRun the code above in your browser using DataLab