contact_matrix: Get contact data matrix for a specific country

Description Usage Arguments Value References Examples

View source: R/contact_matrix.R

Description

Get contact data matrix for a specific country

Usage

1
contact_matrix(country, location = c("all", "home", "school", "work", "other"))

Arguments

country

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

location

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

Value

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

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), doi: 10.1371/journal.pcbi.1005697

Examples

1
2
3
contact_matrix("France", location = "all")

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

contactdata documentation built on Feb. 19, 2021, 9:06 a.m.