Learn R Programming

hsstan (version 0.8.2)

posterior_interval.hsstan: Posterior uncertainty intervals

Description

Compute posterior uncertainty intervals for hsstan objects.

Usage

# S3 method for hsstan
posterior_interval(object, pars = NULL, prob = 0.95, ...)

Value

A matrix with lower and upper interval bounds as columns and as many rows as selected parameters.

Arguments

object

An object of class hsstan.

pars

Names of parameters for which posterior intervals should be returned, which can be specified as regular expressions. If NULL (default) then this refers to the set of predictors used in the model.

prob

A value between 0 and 1 indicating the desired probability to be covered by the uncertainty intervals (0.95, by default).

...

Currently ignored.

Examples

Run this code
utils::example("hsstan", echo=FALSE)
# continued from ?hsstan
posterior_interval(hs.biom)

Run the code above in your browser using DataLab