post.dist.hist | R Documentation |
Histogram of posterior distributions.
post.dist.hist(data, true=NULL, breaks = 20, mean = FALSE, median = TRUE)
data |
Matrix of size p x Nmc where p denotes the number of parameters and Nmc the number of MCMC samples. |
true |
The true value of the parameters (for simulation only). |
breaks |
Parameter for 'hist()' function. |
mean |
logical; if 'TRUE' the mean is added to the histogram. |
median |
logical; if 'TRUE' the median is added to the histogram. |
Histograms illustrating posterior distributions.
Fabio Sigrist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.