Make contact matrix from Mistry et al. data
Source:R/helpers_five-year-age-groups.R
mk_contact_pars.RdMake contact matrix from Mistry et al. data
Arguments
- age.group.lower
(optional) Numeric vector. Lower bounds for aggregated age groups, if desired.
- setting.weight
Named numeric vector of the average contact rate by setting to reflect closures.
- pop.new
(optional) Numeric vector. Specifies new population sizes by age with which to renormalize contact matrices. Must match up with age groups given in
age.group.lower(if provided) or original Mistry age groups (one year age groups up to 84, with a single age group for 85+).