incidences | R Documentation |
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)
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 |
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.
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.
Denis Talbot, Thierry Duchesne, Jacques Brisson, Nathalie Vandal.
est.expDeath
, var.expDeath
, inference.SMR
, screening
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.