plot.bayesm.nmix: Plot Method for MCMC Draws of Normal Mixtures
Description
plot.bayesm.nmix is an S3 method to plot aspects of the fitted density from a list of MCMC draws of normal mixture components. Plots of marginal univariate and bivariate densities are produced.
Typically, plot.bayesm.nmix will be invoked by a call to the generic plot function as in plot(object) where object is of class bayesm.nmix. These objects are lists of three components. The first component is an array of draws of mixture component probabilties. The second component is not used. The third is a lists of lists of lists with draws of each of the normal components.
plot.bayesm.nmix can also be used as a standard function, as in plot.bayesm.nmix(list).
## not run# out = rnmixGibbs(Data, Prior, Mcmc)## plot bivariate distributions for dimension 1,2; 3,4; and 1,3# plot(out,bi.sel=list(c(1,2),c(3,4),c(1,3)))