Learn R Programming

MetaUtility (version 2.1.2)

format_CI: Manuscript-friendly confidence interval formatting

Description

Formats confidence interval lower and upper bounds into a rounded string.

Usage

format_CI(lo, hi, digits = 2)

Arguments

lo

Confidence interval lower limit (numeric)

hi

Confidence interval upper limit (numeric)

digits

Digits for rounding

Examples

Run this code
# NOT RUN {
format_CI(0.36, 0.72, 3)
# }

Run the code above in your browser using DataLab