A function to calculate incidence rates for every combination of age and calendar years.
incidences(age_min, age_max, year_min, year_max, follow_up,
start_age, start_year, case)
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.
The age at which incidences should begin to be calculated.
The age at which incidences should stop to be calculated.
The calendar year at which indicidences should begin to be calculated.
The calendar year at which incidences should stop to be calculated.
A vector of dimension n
of follow-up times as non-participants.
A vector of dimension n
of ages at the begining of the follow-up.
A vector of dimension n
of calendar years at the begining of the follow-up.
A vector of dimension n
where each component equals 1 if the follow-up ended because the individual was infected with the decease and 0 otherwise.
Denis Talbot, Thierry Duchesne, Jacques Brisson, Nathalie Vandal.
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.
est.expDeath
, var.expDeath
, inference.SMR
, screening