papaja (version 0.1.0.9842)

print_interval: Create interval estimate string

Description

Creates a character string to report an interval estimate. This function is not exported.

Usage

print_interval(x, conf_level = NULL, use_math = FALSE, interval_type,
  ...)

Arguments

x

Numeric. Either a vector of length 2 with attribute conf.level or a two-column matrix and confidence region bounds as column names (e.g. "2.5 %" and "97.5 %") and coefficient names as row names.

conf_level

Numeric. Vector of length 2 giving the lower and upper bounds of the confidence region in case they cannot be determined from column names or attributes of x.

use_math

Logical. Indicates whether to insert $ into the output so that Inf or scientific notation is rendered correctly.

...

Arguments passed on to printnum

x

Numeric. Can be either a single value, vector, or matrix.

See Also

printnum

Examples

Run this code
# NOT RUN {
print_confint(c(1, 2), conf_level = 0.95)
# }

Run the code above in your browser using DataLab