fmt_ci: Format confidence interval

View source: R/fmt.R

fmt_ciR Documentation

Format confidence interval

Description

Format confidence interval

Usage

fmt_ci(.est, .lower, .upper, digits = 2, width = digits + 3)

Arguments

.est

an estimator.

.lower

lower confidence interval bound of an estimator.

.upper

upper confidence interval bound of an estimator.

digits

number of digits for .est, .lower, and .upper.

width

the total field width.

Examples

fmt_ci(1, -0.25, 1.32)

RConsortium/submissions-pilot2 documentation built on Feb. 7, 2025, 1:24 a.m.