Learn R Programming

popEpi (version 0.4.9)

poisson.ci: Get rate and exact Poisson confidence intervals

Description

Computes confidence intervals for Poisson rates

Usage

poisson.ci(x, pt = 1, conf.level = 0.95)

Arguments

x

observed

pt

expected

conf.level

alpha level

Value

A data.frame with columns

  • x: arg x

  • pt: arg pt

  • rate: result of x / pt

  • lower: lower bound of CI

  • upper: upper bound of CI

  • conf.level: arg conf.level

Examples

Run this code
# NOT RUN {
poisson.ci(x = 4, pt = 5, conf.level = 0.95)
# }

Run the code above in your browser using DataLab