posterior_plot | R Documentation |
Produce a vanilla histogram plot using hist
for the
parameter of interest (rho or eta) as part of
TS_diagnostics_plot
. A vertical line is added to show the
median of the posterior.
posterior_plot(x, xlab = "parameter value")
x |
Vector of parameter values drawn from the posterior distribution, indexed to the iteration by the order of the vector. |
xlab |
|
NULL
.
posterior_plot(rnorm(100, 0, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.