Last data update: 2014.03.03

R: Plot computed marginal predictive densities
plot.NMixPlugDensMargR Documentation

Plot computed marginal predictive densities

Description

This is a basic plotting tool to visualize computed marginal plug-in estimates of densities, see NMixPlugDensMarg.

Usage

## S3 method for class 'NMixPlugDensMarg'
plot(x, auto.layout=TRUE,
    type="l", col="darkblue", lty=1, lwd=1, main, xlab, ylab, ...)

Arguments

x

an object of class NMixPlugDensMarg.

auto.layout

if TRUE then the function determines itself how to divide the plotting region to draw densities for all margins.

type

type of the plot.

col

color used to draw the lines.

lty

type of the line.

lwd

line width.

main

main title of the plot. Either character which is replicated or a vector of characters of the length equal to the number of margins.

xlab

label for the x-axis. Either character which is replicated or a vector of characters of the length equal to the number of margins.

ylab

label for the y-axis. Either character which is replicated or a vector of characters of the length equal to the number of margins.

...

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

NMixPlugDensMarg, NMixMCMC.

Results