epidemic.age.dist: calculates the age distribution in an epidemic setting using...

Description Usage Arguments Value

Description

calculates the age distribution in an epidemic setting using the iterative method of Wallinga (2006)

Usage

1
2
epidemic.age.dist(contact.matrix, q, child.mixing = NA, immunity = 0,
  final.size.start = 0.01, tol = 1e-05)

Arguments

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

Value

A list composed of z: final size in each age group normalised.z: proportion of cases in each age group


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