polymod_uk | R Documentation |
An example of social contact and demography data for use with finalsize
,
accessed from the POLYMOD social contacts dataset using the socialmixr
package. Data are for the United Kingdom, and age limits are set at 0, 20,
and 40 years, with symmetric = TRUE
. Code to get these data is
given in data-raw/polymod_uk.R
.
polymod_uk
polymod_uk
A list with two named elements:
A contact matrix with mean contacts between age
groups. This matrix is scaled by its largest real eigenvalue, and each
row is scaled by the corresponding element in the demography_vector
.
A vector with the number of individuals in each of three age groups: 0 – 20, 20 – 40, 40+.
; obtained using
socialmixr::polymod
. See further methods in data-raw/polymod_uk.R
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.