contactdata (version 1.0.0)

contact_matrix: Get contact data matrix for a specific country

Description

Get contact data matrix for a specific country

Usage

contact_matrix(
  country,
  location = c("all", "home", "school", "work", "other"),
  geographic_setting = c("all", "rural", "urban"),
  data_source = c("2020", "2017")
)

Value

A square (16 by 16) matrix containing the contact data between the different age classes for a given country.

Arguments

country

Character. The name of the country for which you want contact data.

location

Character. One of "all" (default), "home", "school", "work" or "other".

geographic_setting

Character. One of "all" (default), "rural", "urban"

data_source

Character. Either "202O" (default) or "2017"

References

Kiesha Prem, Alex R. Cook, Mark Jit, Projecting social contact matrices in 152 countries using contact surveys and demographic data, PLoS Comp. Biol. (2017), tools:::Rd_expr_doi("10.1371/journal.pcbi.1005697")

Kiesha Prem, Kevin van Zandvoort, Petra Klepac, Rosalind M. Eggo, Nicholas G. Davies, CMMID COVID-19 Working Group, Alex R. Cook, Mark Jit, Projecting contact matrices in 177 geographical regions: An update and comparison with empirical data for the COVID-19 era, PLoS Comp. Biol. (2021), tools:::Rd_expr_doi("10.1371/journal.pcbi.1009098").

Examples

Run this code
contact_matrix("France", location = "all")

contact_matrix("Belgium", location = "school")

Run the code above in your browser using DataLab