plot.NMixPredCondDensJoint2 function

Plot computed predictive pairwise bivariate conditional densities

Plot computed predictive pairwise bivariate conditional densities

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

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

Returns

invisible(x)

See Also

NMixPredCondDensJoint2, NMixMCMC.

Author(s)

Arnošt Komárek arnost.komarek@mff.cuni.cz