caterplot | R Documentation |
opm
Model ParametersCreates side-by-side plots of equal-tailed credible intervals of opm
model parameters. The intervals are displayed as horizontal lines,
with 90% interval using a thicker line width and 95% interval a
thinner one. The posterior median is indicated with a dot.
caterplot( x, parm, main = paste("Caterpillar plot of", xname), xlab = "Range of parameter samples", labels = colnames(ranges) )
x |
an instance of class |
parm |
a specification of which parameters are to be plotted,
either a vector of names (" |
main, xlab |
useful defaults for the plot title and X-axis label |
labels |
labels for each parameter's interval: see |
A matrix of 2.5%, 5%, 50%, 95%, and 97.5% quantiles for each of the desired parameters, with parameters arranged in columns.
## Not run: caterplot(o, main = NULL, labels = expression(alpha, beta, sigma^2)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.