posterior_summary | R Documentation |
Produce a summary of the posterior samples for the quantities of interest.
posterior_summary(x, prob, ...)
## Default S3 method:
posterior_summary(x, prob = 0.95, ...)
## S3 method for class 'hsstan'
posterior_summary(x, prob = 0.95, pars = NULL, ...)
x |
An object containing or representing posterior samples. If |
prob |
Width of the posterior intervals (0.95, by default). |
... |
Further arguments passed to or from other methods. |
pars |
Vector of parameter names to be extracted. If |
A matrix with columns containing mean, standard deviation and posterior intervals for the given quantities.
summary()
to produce summaries of hsstan
objects that include the number
of effective samples and the split-Rhat diagnostic.
# continued from ?hsstan
posterior_summary(hs.biom)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.