Learn R Programming

hpa (version 1.1.2)

plot.hpaML: Plot approximated marginal density using hpaML output

Description

Plot approximated marginal density using hpaML output

Usage

# S3 method for hpaML
plot(x, y = NULL, ..., ind = 1, given = NULL)

Arguments

x

Object of class "hpaML"

y

this parameter currently ignored

...

further arguments (currently ignored)

ind

= index of random variable for which approximation to marginal density should be plotted

given

= numeric vector of the same length as given_ind from x. Determines conditional values for the corresponding components. NA values in given vector indicate that corresponding random variable is not conditioned. By default all given components are NA so unconditional marginal density will be plotted for the ind-the random variable.