Learn R Programming

cancerradarr (version 1.3.1)

incidence_rates_ratio: Compute incidence rates ratio

Description

Compute incidence rates ratio

Usage

incidence_rates_ratio(ncan, py, ncanref, pyref, ncan.min = 5)

Value

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

Arguments

ncan

integer, number of cancers in the population of interest

py

integer, person-year of the the population of interest

ncanref

integer, number of cancers in the reference population

pyref

integer, person-year of the the reference population

ncan.min

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

Incidence rates ratio and associated 95% confidence interval are computing assuming normal distribution of the ratios on the log scale.

References

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

Examples

Run this code
ncan <- 1:10
py <- 101:110
ncanref <- 41:50
pyref <- 251:260
ncan.min <- 5

incidence_rates_ratio(ncan, py, ncanref, pyref, ncan.min)

Run the code above in your browser using DataLab