Format Credible Intervals

make_conf(value, round_type = NULL, digits = 0)

Arguments

value

List of value to map into a string. Requires, point, lower, and upper.

round_type

Function, type of rounding to apply. Defaults to round.

digits

Numeric, defaults to 0. Amount of rounding to apply

Value

A character vector formatted for reporting

Examples

value <- list(list(point = 1, lower = 0, upper = 3)) make_conf(value, round_type = round, digits = 0)
#> [1] "1 (0 -- 3)"