Learn R Programming

mixAK (version 2.2)

plot.NMixPlugDensMarg: 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, \dots)

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)

See Also

NMixPlugDensMarg, NMixMCMC.