contactdata (version 0.1)

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"))

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

Examples

Run this code
# NOT RUN {
contact_matrix("France", location = "all")

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

# }

Run the code above in your browser using DataLab