Learn R Programming

cursory (version 1.0.0)

ci: Confidence interval structure

Description

Create a confidence-interval object.

Usage

ci(estimate, lower, upper, confidence = 0.95, ...)

Arguments

estimate

The Estimate

lower

Lower bound

upper

Upper bound.

confidence

confidence level

...

other information such as

Value

A confidence-interval object.

Examples

Run this code
# NOT RUN {
x <- ci(est=0, low=-1, upp=1)
format(x)
format(x, span='---')

y <- ci(1, 0, 2, span=',')
c(x,y)

# }

Run the code above in your browser using DataLab