R/fct_calculation_helpers.R
mode_HDI.Rd
We use hdi
function in our
analysis. The present helper function is needed for
the Bayesian parameter estimation robustness test.
mode_HDI(scale, density, crit_width = 0.95, n_samples = 1e+05)
numeric, scale of the sample
numeric, density
numeric, the critical width
numeric, number of iteration