Learn R Programming

descutils (version 1.0)

prettyCI: round and paste lower and upper (confidence) interval limits

Description

Given 0.56 and 1.22998 this will return [0.56; 1.23].

Usage

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

Value

character of the form "[conf.low; conf.high]"

Arguments

conf.low

numeric vector. lower limits of the (confidence) interval

conf.high

numeric vector of the same length of conf.low. upper limits of the (confidence) interval.

digits

numeric. number of digits to round the limits to

Author

Dr. Andreas Leha

Examples

Run this code
prettyCI(0.56, 1.22998)

Run the code above in your browser using DataLab