R/utilities.R
make_conf.Rd
Combines a list of values into formatted credible intervals.
make_conf(value, CrI = 90, reverse = FALSE)
List of value to map into a string. Requires, point, lower, and upper.
point
lower
upper.
Numeric, credible interval to report. Defaults to 90.
Logical, defaults to FALSE. Should the reported credible interval be switched.
A character vector formatted for reporting
value <- list(median = 2, lower_90 = 1, upper_90 = 3) make_conf(value) #> [1] "2 (1 -- 3)"