Compute posterior uncertainty intervals for brmsfit objects.
Usage
# S3 method for brmsfit
posterior_interval(object, pars = NA, prob = 0.95,
...)
Arguments
object
An object of class brmsfit
pars
Names of parameters for which posterior samples should be
returned, as given by a character vector or regular expressions.
By default, all posterior samples of all parameters are extracted.
prob
A value between 0 and 1 indicating the desired probability
to be covered by the uncertainty intervals. The default is 0.95.