Last data update: 2014.03.03

R: Plot computed predictive pairwise bivariate conditional...
plot.NMixPredCondDensJoint2R Documentation

Plot computed predictive pairwise bivariate conditional densities

Description

This is a basic plotting tool to visualize computed predictive pairwise bivariate conditional densities using the image or contour plot. See also NMixPredCondDensJoint2.

Usage

## S3 method for class 'NMixPredCondDensJoint2'
plot(x, ixcond, imargin,
    contour=FALSE,
    add.contour=TRUE, col.add.contour="brown",
    auto.layout=TRUE,
    col, lwd=1, main, xylab, ...)

Arguments

x

an object of class NMixPredCondDensJoint2.

ixcond

if given then conditional densities of all pairs of margins given x[[icond]][ixcond] are plotted where icond is taken from x.

imargin

vector of length 2. if given then conditional densities of the (imargin[1], imargin[2]) pair of margins given all values of x[[icond]] are plotted.

contour

logical. If TRUE then contours are drawn, otherwise image plot is created.

add.contour

logical. If TRUE and contour is FALSE (i.e., image plot is drawn) then contours are added to the image plots.

col.add.contour

color of contours which are added to the image plot.

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<c3><85><c2><a1>t Kom<c3><83><c2><a1>rek arnost.komarek[AT]mff.cuni.cz

See Also

NMixPredCondDensJoint2, NMixMCMC.

Results