Social Mixing Matrices for Infectious Disease Modelling
List all countries contained in a survey
Contact survey
Get age-specific population data according to the World Population Pro...
List all countries and regions for which socialmixr has population dat...
Check contact survey data
Clean contact survey data
Generate a contact matrix from diary survey data
Internal function to get survey data
Download a survey from its Zenodo repository
Citation for a survey
Get a survey, either from its Zenodo repository, a set of files, or a ...
Checks if a character string is a DOI
Convert lower age limits to age groups.
List all surveys available for download
Load a survey from local files
Draws an image plot of a contact matrix with a legend strip and the nu...
Change age groups in population data
Reduce the number of age groups given a broader set of limits
Provides methods for sampling contact matrices from diary data for use in infectious disease modelling, as discussed in Mossong et al. (2008) <doi:10.1371/journal.pmed.0050074>.
Useful links