View source: R/litterDiallel.R
plot_hpd | R Documentation |
Plot HPD intervals. (From the BayesDiallel package, Will Valdar and Alan Lenarcic).
plot_hpd( coda.object, wanted = coda::varnames(coda.object), prob.wide = 0.95, prob.narrow = 0.5, xlab = "HPD interval", names = NULL, type = "p", name.margin = 6.1, plt.left = NULL, plt.right = NULL, plt.bottom = NULL, plt.title = NULL, ylab = "", name.line = 3.9, main = "", main.line = 2, ... )
coda.object |
coda object |
wanted |
variable names for coda object |
prob.wide |
outer width of posterior probability |
prob.narrow |
inner width of posterior probability |
xlab |
x-axis label |
names |
names |
type |
type of plot |
name.margin |
margin for name |
plt.left |
left of plot margin |
plt.right |
right of plot margin |
plt.bottom |
bottom of plot margin |
plt.title |
title of plot margin |
ylab |
y-axis label |
name.line |
line where names should be printed |
main |
text of main title |
main.line |
line where main title should be printed |
... |
additional arguments |
returns HPD plot
## not run
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.