binCI: Combine three numbers into a formatted text string

Description Usage Arguments Value Examples

View source: R/binCI.R

Description

Function to make a formatted text string version of a confidence interval.

Usage

1
binCI(est, lower, upper, ndigits = 1, inpct = TRUE)

Arguments

est

The estimated quantity.

lower

The lower confidence interval value.

upper

The upper confidence interval value.

ndigits

The number of digits following the decimal point. The default value is one decimal point.

inpct

If true, the estimates are multipled by 100 to form whole numbers. The default value is T.

Value

The text string that combines the three elements of confidence inteval for easy printing.

Examples

1
2
3
binCI(0.2332, 0.1512, 0.3192)
binCI(0.2332, 0.1512, 0.3192, 2, TRUE)
binCI(0.2332, 0.1512, 0.3192, 4, FALSE)

rickeycarter/mrmctools documentation built on May 6, 2019, 8:59 p.m.