Social Mixing Matrices for Infectious Disease Modelling
Add age column from exact age (generic helper)
Check contact survey data
Assign age groups in survey data
Check contact survey data
Clean contact survey data
Generate a contact matrix from diary survey data
Handle deprecated argument
Internal function to get survey data
Download a survey from its Zenodo repository
Find the minimal unique key for a data.table
Citation for a survey
Get a survey, either from its Zenodo repository, a set of files, or a ...
Impute ages from ranges (generic helper)
Impute contact ages
Impute participant ages
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...
Contact survey
Normalise country names
Change age groups in population data
Reduce the number of age groups given a broader set of limits
List all countries contained in a survey
Get survey country population data
Contact survey
Get age-specific population data according to the World Population Pro...
List all countries and regions for which socialmixr has population dat...
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