This is a basic plotting tool to visualize computed marginal pairwise
bivariate predictive densities using the
image plot or contour
plot.
See also NMixPredDensJoint2.
Usage
## S3 method for class 'NMixPredDensJoint2':
plot(x, K=0, contour=FALSE,
auto.layout=TRUE,
col, lwd=1, main, xylab, \dots)
Arguments
x
an object of class NMixPredDensJoint2.
K
if equal to 0 then the overall predictive densities
are plotted taken from the dens part of the object x.
If higher than 0 then the predictive density conditioned by
the value of K
contour
logical. If TRUE then contours are drawn,
otherwise image plot is created.
auto.layout
if TRUE then the function determines itself
how to divide the plotting region to draw densities for all margins.
col
color used to draw the contours or images.
lwd
line width.
main
main title of the plot.
xylab
optional character vector of the length equal to
the number of margins with labels used for x and y axes on the plots.
...
additional arguments passed to the plot function.
Value
invisible(x)
References
$\mbox{Kom\'{a}rek, A.}$
A new R package for Bayesian estimation of multivariate normal mixtures allowing for selection
of the number of components and interval-censored data.
Computational Statistics and Data Analysis, 53, 3932--3947.
## 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.pdf