Description Usage Arguments Value
calculates the age distribution in an endemic setting using the iterative method of Wallinga (2006)
1 2 | endemic.age.dist(contact.matrix, q, child.mixing = NA, reporting = NA,
vaccination = NA, incidence.start = 0.01, tol = 1e-05)
|
contact.matrix: |
social contact matrix; this must have the age groups as column names (with a comma between limits) |
q: |
vector of probabilies of transmission per contact |
child.mixing: |
vector of first entries of contact matrix |
reporting: |
vector of reporting probabilities |
vaccination: |
proportion vaccinated (between 0 and 1) in each age group |
incidence.start: |
starting value for inidence |
tol: |
tolerance for stopping the iteration |
the endemic age distribution, a list composed of: y: incidence in each age group normalised.y: proportion of cases in each age group lambda: force of infection by age group prop.immune: proportion immune in each age group prop.immune.age: proportion immune at each age
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.