hpd.bayesnmr function

get the highest posterior density (HPD) interval

get the highest posterior density (HPD) interval

## 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

Returns

dataframe containing HPD intervals for the parameters

  • Maintainer: Daeyoung Lim
  • License: GPL (>= 3)
  • Last published: 2024-01-24