Learn R Programming

cancerradarr (version 1.3.1)

incidence_rates: Compute crude incidence rates

Description

Compute crude incidence rates

Usage

incidence_rates(ncan, py, ncan.min = 5)

Value

a 3 column data.frame containing the crude incidence rate estimate (est) and associated 95% CI (lci, uci)

Arguments

ncan

integer, number of cancer

py

integer, number of person-year

ncan.min

integer, minimum number of observation required not to mask the CI's out

Crude incidence rates and associated 95% confidence interval are computing assuming a Poisson distribution and the exact method.

References

Boyle P, Parkin DM. Cancer registration: principles and methods. Statistical methods for registries. IARC Sci Publ. 1991;(95):126-58. PMID: 1894318.

See Also

epitools::pois.exact()

Examples

Run this code
ncan <- c(1, 10, 100)
py <- c(10, 100, 1000)
incidence_rates(ncan, py, 5)

Run the code above in your browser using DataLab