hpd.bayesparobs: get the highest posterior density (HPD) interval or...

hpd.bayesparobsR Documentation

get the highest posterior density (HPD) interval or equal-tailed credible interval

Description

get the highest posterior density (HPD) interval or equal-tailed credible interval

Usage

## S3 method for class 'bayesparobs'
hpd(object, parm, level = 0.95, HPD = TRUE)

Arguments

object

the output model from fitting a (network) meta analysis/regression model

parm

a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered.

level

the probability which the HPD interval will cover

HPD

a logical value indicating whether HPD or equal-tailed credible interval should be computed; by default, TRUE

Value

dataframe containing HPD intervals for the parameters


metapack documentation built on May 29, 2024, 8:45 a.m.