plot.NMixPlugCondDensJoint2 {mixAK} | R Documentation

## Plot computed pairwise bivariate conditional densities (plug-in estimate)

### Description

This is a basic plotting tool to visualize computed plug-in estimates of pairwise bivariate conditional densities using the `image` or `contour` plot. See also `NMixPlugCondDensJoint2`.

### Usage

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

### Arguments

`x` | an object of class `NMixPlugCondDensJoint2`.
`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.
`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

### See Also

`NMixPlugCondDensJoint2`, `NMixMCMC`.

[Package mixAK version 0.6 Index]