Description Usage Arguments Value Author(s)
Calculates the age distribution in equilibrium of an age-strutured SIR-model, by year or as a function of R0
1 | age.distribution(contact.matrix, R0, vaccination = NULL, years = NULL)
|
R0 |
The value(s) of R0. If a vactor of length>1, will test the different values |
vaccination |
Vaccination levels, given as a data table with a "year" column, and a column for each of the age groups |
years |
Years for which to calculate age distribution. This takes into account vaccination in the different years. If this is given, R0 should be set to a single value |
agegroups |
Vector of the lower limits of the age groups |
a data.table with the different relative incidences, population sizes, absolute incidences and proportions of cases
Sebastian Funk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.