Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.NMixPlugCondDensJoint2

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,
    add.contour=TRUE, col.add.contour="brown",
    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.

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)

See Also


mixAK

Multivariate Normal Mixture Models and Mixtures of Generalized Linear Mixed Models Including Model Based Clustering

v5.3
GPL (>= 3)
Authors
Arnošt Komárek <arnost.komarek@mff.cuni.cz>
Initial release
2020-06-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.