Skip to contents

All functions

agegroups_to_limits()
Convert age groups to lower age limits
as_contact_survey()
Check contact survey data
assign_age_groups()
Assign age groups in survey data
check(<contact_survey>)
Check contact survey data
clean(<contact_survey>)
Clean contact survey data
compute_matrix()
Compute contact matrix from prepared survey data
contact_matrix()
Generate a contact matrix from diary survey data
download_survey() deprecated
Download a survey from its Zenodo repository
get_citation() deprecated
Citation for a survey
get_survey() deprecated
Get a survey, either from its Zenodo repository, a set of files, or a survey variable
is_doi()
Checks if a character string is a DOI
limits_to_agegroups()
Convert lower age limits to age groups.
list_surveys() deprecated
List all surveys available for download
load_survey()
Load a survey from local files
matrix_plot()
Draws an image plot of a contact matrix with a legend strip and the numeric values in the cells.
per_capita()
Convert a contact matrix to per-capita rates
polymod
Social contact data from 8 European countries
pop_age()
Change age groups in population data
reduce_agegroups()
Reduce the number of age groups given a broader set of limits
split_matrix()
Decompose a contact matrix into mean contacts, normalisation and assortativity
`[`(<contact_survey>)
Subset a contact survey
survey()
Contact survey
survey_countries() deprecated
List all countries contained in a survey
survey_country_population()
Get survey country population data
symmetrise()
Symmetrise a contact matrix
weigh()
Weigh survey participants
wpp_age() deprecated
Get age-specific population data according to the World Population Prospects 2017 edition
wpp_countries() deprecated
List all countries and regions for which socialmixr has population data