Package: conmat 0.1.0
conmat: Builds Contact Matrices using Generalised Additive Models (GAMs) and Population Data
Builds contact matrices using Generalised Additive Models (GAMs) and population data, as described in Tierney, Saraswati, Babu, Lydeamore, and Golding (2026) <doi:10.21105/joss.08326>. This package incorporates data that is copyright Commonwealth of Australia (Australian Electoral Commission and Australian Bureau of Statistics) 2020.
Authors:
conmat_0.1.0.tar.gz
conmat_0.1.0.zip(r-4.7)conmat_0.1.0.zip(r-4.6)conmat_0.1.0.zip(r-4.5)
conmat_0.1.0.tgz(r-4.6-any)conmat_0.1.0.tgz(r-4.5-any)
conmat_0.1.0.tar.gz(r-4.7-any)conmat_0.1.0.tar.gz(r-4.6-any)
conmat_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
conmat/json (API)
NEWS
| # Install 'conmat' in R: |
| install.packages('conmat', repos = c('https://idem-lab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/idem-lab/conmat/issues
Pkgdown/docs site:https://idem-lab.github.io
- abs_avg_school - ABS education data for 2016
- abs_avg_work - ABS work data for 2016
- abs_education_state - ABS education by state for 2006-2020
- abs_education_state_2020 - 2020 ABS education population data, interpolated into 1 year bins, by state.
- abs_employ_age_lga - ABS employment by age and LGA for 2016
- abs_household_lga - ABS household data for 2016
- abs_lga_lookup - ABS lookup table of states, lga code and lga name
- abs_pop_age_lga_2016 - ABS population by age for 2016 for LGAs
- abs_pop_age_lga_2020 - ABS population by age for 2020 for LGAs
- abs_state_age - ABS state population data for 2020
- age_group_lookup - Lookup table of age groups in 5 year bins
- conmat_original_school_demographics - Original school demographics for conmat
- conmat_original_work_demographics - Original work demographics for conmat
- data_abs_lga_education - LGA wise ABS education population data on different ages for year 2016
- data_abs_lga_work - LGA wise ABS work population data on different ages for year 2016
- data_abs_state_education - State wise ABS education population data on different ages for year 2016
- data_abs_state_work - State wise ABS work population data on different ages for year 2016
- davies_age_extended - Susceptibility and clinical fraction parameters from Davies et al.
- eyre_transmission_probabilities - Transmission probabilities of COVID19 from Eyre et al.
- polymod - Social contact data from 8 European countries
- polymod_setting_models - Polymod Settings models
- prem_germany_contact_matrices - Contact matrices as calculated by Prem. et al.
- setting_weights - Setting weights computed for transmission probabilities.
- vaccination_effect_example_data - Example dataset with information on age based vaccination coverage, acquisition and transmission
contact-matricesinfectious-diseasespopulation-datapublic-health
Last updated from:4e8982781e. Checks:1 ERROR, 8 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | ERROR | 229 | ||
| source / vignettes | OK | 376 | ||
| linux-release-x86_64 | OK | 267 | ||
| macos-release-arm64 | OK | 246 | ||
| macos-oldrel-arm64 | OK | 196 | ||
| windows-devel | OK | 258 | ||
| windows-release | OK | 256 | ||
| windows-oldrel | OK | 249 | ||
| wasm-release | OK | 136 |
Exports:%>%abs_abbreviate_statesabs_age_education_lgaabs_age_education_stateabs_age_lgaabs_age_stateabs_age_work_lgaabs_age_work_stateabs_unabbreviate_statesadd_intergenerationaladd_modelling_featuresadd_offsetadd_population_age_toadd_school_work_participationadd_symmetrical_featuresageage_breaksage_labelage_populationaggregate_predicted_contactsapply_vaccinationas_conmat_populationas_setting_prediction_matrixautoplotconmat_populationestimate_setting_contactsextrapolate_polymodfit_setting_contactsfit_single_contact_modelgenerate_ngmgenerate_ngm_ozget_abs_household_size_distributionget_abs_household_size_populationget_abs_per_capita_household_sizeget_abs_per_capita_household_size_lgaget_abs_per_capita_household_size_stateget_age_population_functionget_polymod_contact_dataget_polymod_per_capita_household_sizeget_polymod_populationget_polymod_setting_dataget_setting_transmission_matricesmatrix_to_predictionsnew_age_matrixnew_ngm_setting_matrixnew_setting_datapartial_effectspartial_effects_sumper_capita_household_sizepolymodpopulationpopulation_labelpredict_contactspredict_contacts_1ypredict_setting_contactspredictions_to_matrixprepare_population_for_modellingraw_eigenvaluescalingsetting_prediction_matrixtransmission_probability_matrix
Dependencies:askpassbackportscachemcheckmateclicodetoolscountrycodecpp11crayoncurldata.tablediffobjdigestdplyrenglishfarverfastmapfurrrfuturegenericsggplot2globalsgluegtablehttrisobandjsonlitelabelinglatticelifecyclelistenvlubridatemagrittrMatrixmemoisemgcvmimemintynlmeoaiopensslparallellypatchworkpillarpkgconfigplyrpurrrR6RColorBrewerRcpprlangS7scalessocialmixrstringistringrsystibbletidyrtidyselecttimechangetzdbutf8vctrsviridisLitewaldowithrwpp2017xml2
Conmat Population Data
Rendered fromconmat-population.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2026-02-13
Started: 2022-12-23
Data Sources
Rendered fromdata-sources.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2026-02-13
Started: 2022-09-08
Example Pipeline
Rendered fromexample-pipeline.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2026-02-13
Started: 2022-09-08
Getting Started
Rendered fromgetting-started.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2026-02-13
Started: 2021-09-06
Parallel Computing
Rendered fromparallel-computing.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2026-02-13
Started: 2022-12-23
SIR modelling with conmat
Rendered fromsir-model.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2026-02-13
Started: 2023-02-07
Using other data sources
Rendered fromother-data-sources.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2026-02-13
Started: 2022-12-23
Visualisation gallery
Rendered fromvisualising-conmat.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2026-02-13
Started: 2022-12-23
