make_interval_entry: Format confidence intervals for nice printing

View source: R/utilities.R

make_interval_entryR Documentation

Format confidence intervals for nice printing

Description

Format confidence intervals for nice printing

Usage

make_interval_entry(conf.low, conf.high, digits = 2)

Arguments

conf.low

a numeric vector of lower bounds

conf.high

a numeric vector of upper bounds

digits

number of digits to retain

Value

a character vector of intervals

Examples


conf.low <- c(-0.1652, 0.00304, -6.352)
conf.high <- c(0.3052, 0.00696, -1.648)

make_interval_entry(conf.low, conf.high)



rdss documentation built on Oct. 11, 2024, 1:08 a.m.