Given a vector of MCMC samples, generates and formats the desired quantile estimates
generate_quantiles(x, sig_f = 3, qs = c(0.025, 0.5, 0.975), as_text = TRUE)if `as_text = TRUE`, a formatted median and interval; otherwise, the requested quantiles as a numeric vector
data(example_theta_chain)
x <- example_theta_chain$boost_long
generate_quantiles(x)
#> [1] "2.02 (1.9-2.11)"