Learn R Programming

metalite.ae (version 0.1.2)

fmt_ci: Format confidence interval

Description

Format confidence interval

Usage

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

Value

A numeric vector with the expected format.

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.

Examples

Run this code
fmt_ci(0.2356, 0.3871)

Run the code above in your browser using DataLab