hpd.bayesnmr {metapack}R Documentation

get the highest posterior density (HPD) interval

Description

get the highest posterior density (HPD) interval

Usage

## S3 method for class 'bayesnmr'
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


[Package metapack version 0.3 Index]