fmt_ci: Format confidence interval

View source: R/fmt.R

fmt_ciR Documentation

Format confidence interval

Description

Format confidence interval

Usage

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

Arguments

lower

A numeric value of lower value of CI.

upper

A numeric value of upper value of CI.

digits

Digits of each column, i.e., format as (x.x, x.x).

width

Width of each column.

Value

A numeric vector with the expected format.

Examples

fmt_ci(0.2356, 0.3871)

metalite.ae documentation built on May 29, 2024, 7:10 a.m.