Learn R Programming

rdss (version 1.0.14)

make_interval_entry: Format confidence intervals for nice printing

Description

Format confidence intervals for nice printing

Usage

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

Value

a character vector of intervals

Arguments

conf.low

a numeric vector of lower bounds

conf.high

a numeric vector of upper bounds

digits

number of digits to retain

Examples

Run this code

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)


Run the code above in your browser using DataLab