plot.NMixPredCondCDFMarg {mixAK}R Documentation

Plot computed univariate conditional predictive cumulative distribution functions

Description

This is a basic plotting tool to visualize computed posterior predictive estimates of univariate conditional cdf's, see NMixPredCondCDFMarg.

Usage

## S3 method for class 'NMixPredCondCDFMarg'
plot(x, ixcond, imargin, prob, over=FALSE,
    auto.layout=TRUE, type="l", lwd=1, lty, col, qlwd=1, qlty, qcol,
    main, xlab, ylab, ylim,
    annot=TRUE, ...)

Arguments

x

an object of class NMixPredCondCDFMarg.

ixcond

if given then conditional cdf's of all margins given x[[icond]][ixcond] are plotted where icond is taken from x.

imargin

if given then conditional cdf's of the imargin-th margin given all values of x[[icond]] are plotted - either separately or all in one plot.

prob

probabilities of pointwise posterior quantiles which should be added to the plot. Computed values of requested posterior quantiles must be present in the object x (see argument prob of NMixPredCondCDFMarg).

over

logical. If TRUE and imargin is given then all conditional cdf's are drawn in one plot.

auto.layout

if TRUE then the function determines itself how to divide the plotting region to draw the computed cdf's.

type

type of the plot.

lwd

line width.

lty

type of the line. It can be a vector in which case different lines are drawn in different types.

col

color used to draw the lines. It can be a vector in which case different lines are drawn in different colors.

qlwd

line width for pointwise posterior quantiles.

qlty

type of the line for pointwise posterior quantiles.

qcol

color used to draw pointwise posterior quantiles.

main

main title of the plot. Either character which is replicated or a vector of characters.

xlab

label for the x-axis. Either character which is replicated or a vector of characters.

ylab

label for the y-axis. Either character which is replicated or a vector of characters.

ylim

limits for the y-axis.

annot

if TRUE and imargin is given and over is TRUE then a legend is added to the plot.

...

additional arguments passed to the plot function.

Value

invisible(x)

Author(s)

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

See Also

NMixPredCondCDFMarg, NMixMCMC.


[Package mixAK version 5.7 Index]