Age-Structured Spatio-Temporal Models for Infectious Disease Counts
Overview
Meyer and Held (2017) doi:10.1093/biostatistics/kxw051 present an age-structured spatio-temporal model for infectious disease counts. The approach is illustrated in a case study on norovirus gastroenteritis in Berlin, 2011-2015, by age group, city district and week, using additional contact data from the POLYMOD survey. This package contains the data and code to reproduce the results from the paper, see 'demo("hhh4contacts")'.
- The source code is now hosted in a public Git repository at <https://codeberg.org/EE-hub/hhh4contacts>.
From NEWS.md in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: hhh4contacts/R/noroBE.R (.Dim: 1, .Dimnames: 1) '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK14 OK2026-03-10
Documentation
- Help pages
- 20 (1 internal)
- Examples that run
- 100%13 run in a plain check
- Exported functions with examples
- 67%
- Documented parameters
- 84%
- Return-value docs
- 78%
- Help pages citing references
- 10%
Also includes 1 demo script (run with demo())
Downloads
Repository
Repository codeberg.org/ee-hub/hhh4contacts is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.
Dependencies
Installing hhh4contacts adds 9 packages (8 with compiled code, 12 MB of source tarballs). Heaviest: sp 4.3 MB, surveillance 3.7 MB, spatstat.data 2.9 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.13.4Latest
- RR 4.4.0 released · 2024-04-24
- 0.13.32023-11-06 · diff ↗
- 0.13.22023-10-23 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.13.12020-03-20 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.13.02017-06-30
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-06-30
- Total releases
- 5 / 9 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.2.0
- Bundled data
- 137 KB / 5 files
- Download size
- 178 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("hhh4contacts")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/biostatistics/kxw051.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.