incidences {InferenceSMR} | R Documentation |
Incidences calculations.
Description
A function to calculate incidence rates for every combination of age and calendar years.
Usage
incidences(age_min, age_max, year_min, year_max, follow_up,
start_age, start_year, case)
Arguments
age_min |
The age at which incidences should begin to be calculated. |
age_max |
The age at which incidences should stop to be calculated. |
year_min |
The calendar year at which indicidences should begin to be calculated. |
year_max |
The calendar year at which incidences should stop to be calculated. |
follow_up |
A vector of dimension |
start_age |
A vector of dimension |
start_year |
A vector of dimension |
case |
A vector of dimension |
Details
This function can be used to obtain incidences for the functions est.expDeath
, var.expDeath
and inference.SMR
. A complete example of usage is provided in the help page of the screening
dataset.
Value
A matrix whose first column is the number of person-years at risk, the second column is the calendar years, the third column is the ages and the fourth column is the incidence rates.
Author(s)
Denis Talbot, Thierry Duchesne, Jacques Brisson, Nathalie Vandal.
See Also
est.expDeath
, var.expDeath
, inference.SMR
, screening