hist.opm: Histogram of an 'opm' Object

hist.opmR Documentation

Histogram of an opm Object

Description

Method for hist applied to opm objects. Each parameter will be plotted in a separate figure.

Usage

## S3 method for class 'opm'
hist(
  x,
  parm,
  ask = dev.interactive(),
  plot = TRUE,
  main = NULL,
  xlab = NULL,
  ...
)

Arguments

x

an instance of class opm

parm

a specification of which parameters are to be plotted, either a vector of names ("rho", "sig2" and "beta" are the only legal values) or a vector of positional indices. If missing, all parameters are considered.

ask

if "TRUE", and the R session is interactive, the user is asked to press a key before a new figure (i.e., histogram of the next model parameter) is drawn.

plot

if "TRUE" (default), the resulting object of class "histogram" is plotted by plot.hist.

main, xlab

(optional) vector of titles and X-axis labels for each figure.

...

further arguments passed to the hist function operating on the individual parameter's samples

Value

A list of objects of class "histogram", one for each requested model parameter. The elements are named after the parameter.


OrthoPanels documentation built on June 9, 2022, 9:05 a.m.