mode_HDI: Function calculating the highest density interval using...

Description Usage Arguments

View source: R/fct_calculation_helpers.R

Description

We use hdi function in our analysis. The present helper function is needed for the Bayesian parameter estimation robustness test.

Usage

1
mode_HDI(scale, density, crit_width = 0.95, n_samples = 1e+05)

Arguments

scale

numeric, scale of the sample

density

numeric, density

crit_width

numeric, the critical width

n_samples

numeric, number of iteration


marton-balazs-kovacs/tppr documentation built on Oct. 27, 2021, 3:04 p.m.