Learn R Programming

mixAK (version 0.3)

plot.NMixPredDensJoint2: Plot computed marginal pairwise bivariate predictive densities

Description

This is a basic plotting tool to visualize computed marginal pairwise bivariate predictive densities using the contour plot. See also NMixPredDensJoint2.

Usage

## S3 method for class 'NMixPredDensJoint2':
plot(x, K=0, auto.layout=TRUE,
    col="darkblue", lwd=1, main, xlab, ylab, \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

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.
lwd
line width.
main
main title of the plot.
xlab
label for the x-axis.
ylab
label for the y-axis.
...
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. To appear.

See Also

NMixPredDensJoint2, NMixMCMC.

Examples

Run this code
## 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

Run the code above in your browser using DataLab