make_conf: Format Credible Intervals

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Format Credible Intervals

Usage

1
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

1
2
3
value <- list(list(point = 1, lower = 0, upper = 3))

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

epiforecasts/EpiNow documentation built on Oct. 26, 2020, 2:38 p.m.