plot.NMixPredDensJoint2 {mixAK}R Documentation

Plot computed marginal pairwise bivariate predictive densities

Description

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, ...)

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 is plotted (taken from the densK part of the object x).
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)

Author(s)

Arnošt Komárek arnost.komarek[AT]mff.cuni.cz

References

Komá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. To appear.

See Also

NMixPredDensJoint2, NMixMCMC.

Examples

## 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

[Package mixAK version 0.4 Index]