posterior_interval.hsstan {hsstan} | R Documentation |
Posterior uncertainty intervals
Description
Compute posterior uncertainty intervals for hsstan
objects.
Usage
## S3 method for class 'hsstan'
posterior_interval(object, pars = NULL, prob = 0.95, ...)
Arguments
object |
An object of class |
pars |
Names of parameters for which posterior intervals should be
returned, which can be specified as regular expressions. If |
prob |
A value between 0 and 1 indicating the desired probability to be covered by the uncertainty intervals (0.95, by default). |
... |
Currently ignored. |
Value
A matrix with lower and upper interval bounds as columns and as many rows as selected parameters.
Examples
# continued from ?hsstan
posterior_interval(hs.biom)
[Package hsstan version 0.8.2 Index]