File: poisson.ci.Rd

package info (click to toggle)
r-cran-popepi 0.4.13%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,656 kB
  • sloc: sh: 13; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 788 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility_functions.R
\name{poisson.ci}
\alias{poisson.ci}
\title{Get rate and exact Poisson confidence intervals}
\usage{
poisson.ci(x, pt = 1, conf.level = 0.95)
}
\arguments{
\item{x}{observed}

\item{pt}{expected}

\item{conf.level}{alpha level}
}
\value{
A \code{data.frame} with columns
\itemize{
\item \code{x}: arg \code{x}
\item \code{pt}: arg \code{pt}
\item \code{rate}: result of \code{x / pt}
\item \code{lower}: lower bound of CI
\item \code{upper}: upper bound of CI
\item \code{conf.level}: arg \code{conf.level}
}
}
\description{
Computes confidence intervals for Poisson rates
}
\examples{

poisson.ci(x = 4, pt = 5, conf.level = 0.95)
}
\author{
epitools
}