Description Usage Arguments Value
A rather generic function to plot diagnostics for a single node (a one-dimensional node or a single slot from a multi-dimensional node). Intended for internal use only.
| 1 2 3 4 5 6 7 8 9 | plot.density.and.or.trace( coda,
plotDensity,
plotTrace,
d.prior,
nice.parameter.name,
zero.line=FALSE,
lower.bound=NA,
upper.bound=NA,
draw.prior=TRUE)
 | 
| coda | The code for the node. Rows are iterations. Columns are chains. | 
| plotDensity | A logical value. If  | 
| plotTrace | A logical value. If  | 
| d.prior | A function that takes an array of values and returns the prior density evaluated at those values. | 
| nice.parameter.name | A character value to use as labels in plots. | 
| zero.line | A logical value. Should a verical zero line be drawn on the density plot? | 
| lower.bound | Can be missing, used by  | 
| upper.bound | Can be missing, used by  | 
| draw.prior | Should the prior be drawn? | 
Mainly called for the side effect of plotting. Also returns a vector of quantiles.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.