Description Usage Arguments Value
calculates the age distribution in an epidemic setting using the iterative method of Wallinga (2006)
1 2 | epidemic.age.dist(contact.matrix, q, child.mixing = NA, immunity = 0,
final.size.start = 0.01, tol = 1e-05)
|
contact.matrix: |
social contact matrix |
age.sizes: |
sizes of (number of people in) the different age groups |
q: |
probability of transmission per contact |
child.mixing: |
first entry of contact matrix |
immunity: |
proportion immune before the epidemic |
incidence.start: |
starting value for inidence |
tol: |
tolerance for stopping the iteration |
A list composed of z: final size in each age group normalised.z: proportion of cases in each age group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.