Description Usage Arguments Value References Examples
View source: R/contact_matrix.R
Get contact data matrix for a specific country
1 | contact_matrix(country, location = c("all", "home", "school", "work", "other"))
|
country |
Character. The name of the country for which you want contact data. |
location |
Character. One of "all", "home", "school", "work" or "other". |
A square (16 by 16) matrix containing the contact data between the different age classes for a given country.
Kiesha Prem, Alex R. Cook, Mark Jit, Projecting social contact matrices in 152 countries using contact surveys and demographic data, PLoS Comp. Biol. (2017), doi: 10.1371/journal.pcbi.1005697
1 2 3 | contact_matrix("France", location = "all")
contact_matrix("Belgium", location = "school")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.