Description Usage Arguments Details Author(s)
Various types of plots of the fitted BSM object
1 2 3 4 5 6 7 8 | ## S3 method for class 'bsmfit'
plot(x, which = "posterior", parameters = NULL,
estimate = "mean", cred.int = FALSE, cred.alpha = 0.95,
cred.col = "#99999950", new = TRUE, col = NULL, lty = 1, lwd = 2,
legend.order = NULL, predict.values = NULL, n.posterior.rows = 3,
leg.posx = "topleft", leg.posy = NULL, leg.cex = 0.7, leg.bty = "n",
chain.cols = rainbow(x$fit$BUGSoutput$n.chains + 1, s = 0.8, v = 0.8),
interactive = FALSE, ...)
|
x |
a bsmfit object |
which |
which plot to draw, c("posterior", "curve") |
parameters |
if |
estimate |
"mean" or "median", the estimate to be used when drawing the curve |
cred.int |
logical, if |
cred.alpha |
the significance level for the credible interval, default is 0.95 |
cred.col |
the colour of the credible interval |
new |
logical, if |
col |
colour of lines |
lty |
line type |
lwd |
line width |
legend.order |
order of variables for legend purposes (color, line type, line width) |
predict.values |
extra values to predict |
n.posterior.rows |
the number of rows in the posterior plot |
leg.posx |
x-position of legend, can be "topleft" etc |
leg.posy |
NULL, or y-position of legend |
leg.cex |
size of legend |
leg.bty |
box type of legend |
chain.cols |
colours of lines for traceplots and density plots, NOTE: not used for pairs and curve |
interactive |
logical, if |
... |
additional parameters to |
Lots ??
Tom Elliott
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.