age.distribution: Calculate age distribution in equilibrium

Description Usage Arguments Value Author(s)

Description

Calculates the age distribution in equilibrium of an age-strutured SIR-model, by year or as a function of R0

Usage

1
age.distribution(contact.matrix, R0, vaccination = NULL, years = NULL)

Arguments

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

Value

a data.table with the different relative incidences, population sizes, absolute incidences and proportions of cases

Author(s)

Sebastian Funk


sbfnk/dynmod documentation built on May 29, 2019, 3:21 p.m.