Histograms of posterior samples from objects of class "abc"
.
# S3 method for abc
hist(x, unadj = FALSE, true = NULL, file = NULL,
postscript = FALSE, onefile = TRUE, ask =
!is.null(deviceIsInteractive()), col.hist = "grey", col.true = "red",
caption = NULL, ...)
A list of length equal to the number of parameters, the elements of
which are objects of class "histogram"
. See hist
for details.
an object of class "abc"
.
logical, if TRUE
the unadjusted values are plotted even
if method is "loclinear"
or "neuralnet"
.
the true parameter value(s), if known. Vertical bar(s) are drawn at the true value(s). If more than one parameters were estimated, a vector of the true values have to be supplied.
a character string giving the name of the file. See
postscript
for details on accepted file names. If
NULL
(the default) histograms are printed to the null device
(e.g. X11
). If not NULL
histograms are printed
on a pdf
device. See also postscript
.
logical; if FALSE
(default) histograms are printed on a
pdf
device, if TRUE
on a postscript
device.
logical, if TRUE
(the default) allow multiple figures in one
file. If FALSE
, generate a file name containing the page
number for each page. See postscript
for further details.
logical; if TRUE
(the default), the user is asked before each
plot, see par(ask=.)
.
the colour of the histograms.
the colour of the vertical bar at the true value.
captions to appear above the histogram(s); character
vector
of valid graphics annotations, see as.graphicsAnnot
for details. When NULL
(default), parnames
are used,
which are extracted from x
(see abc
). Can be
set to NA
to suppress all captions.
other parameters passed to hist
.
abc
, plot.abc