Man pages for socialmixr
Social Mixing Matrices for Infectious Disease Modelling

add_ageAdd age column from exact age (generic helper)
agegroups_to_limitsConvert age groups to lower age limits
as_contact_surveyCheck contact survey data
assemble_surveyAssemble a contact survey with new participant/contact data
assign_age_groupsAssign age groups in survey data
checkCheck contact survey data
cleanClean contact survey data
compute_matrixCompute contact matrix from prepared survey data
contact_age_distributionExtract the empirical age distribution of contacts from a...
contact_matrixGenerate a contact matrix from diary survey data
copy_surveyDeep copy a contact survey
deprecate_argHandle deprecated argument
dot-get_surveyInternal function to get survey data
download_surveyDownload a survey from its Zenodo repository
find_unique_keyFind the minimal unique key for a data.table
get_citationCitation for a survey
get_surveyGet a survey, either from its Zenodo repository, a set of...
impute_agesImpute ages from ranges (generic helper)
impute_contact_agesImpute contact ages
impute_participant_agesImpute participant ages
is_contact_matrixTest whether an object is a contact_matrix
is_doiChecks if a character string is a DOI
limits_to_agegroupsConvert lower age limits to age groups.
list_surveysList all surveys available for download
load_surveyLoad a survey from local files
matrix_plotDraws an image plot of a contact matrix with a legend strip...
new_contact_matrixCreate a contact_matrix object
new_contact_surveyContact survey
normalise_country_namesNormalise country names
normalise_weightsPost-stratification weight normalisation
per_capitaConvert a contact matrix to per-capita rates
polymodSocial contact data from 8 European countries
pop_ageChange age groups in population data
reduce_agegroupsReduce the number of age groups given a broader set of limits
resolve_survey_popResolve survey population to match matrix age groups
sample_from_age_distributionSample ages from a distribution within [min, max] bands
split_matrixDecompose a contact matrix into mean contacts, normalisation...
sub-.contact_surveySubset a contact survey
surveyContact survey
survey_countriesList all countries contained in a survey
survey_country_populationGet survey country population data
symmetriseSymmetrise a contact matrix
validate_age_distributionValidate an age distribution data.frame
warn_multiple_observationsWarn if survey has multiple observations per participant
weighWeigh survey participants
wpp_ageGet age-specific population data according to the World...
wpp_countriesList all countries and regions for which socialmixr has...
socialmixr documentation built on April 29, 2026, 9:07 a.m.