Learn R Programming

EpiNow2 (version 1.1.0)

make_conf: Format Credible Intervals

Description

Format Credible Intervals

Usage

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

Run this code
# NOT RUN {
value <- list(point = 1, lower = 0, upper = 3)

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

Run the code above in your browser using DataLab