surveillance
1.26.0Temporal and Spatio-Temporal Modeling and Monitoring of Epidemic Phenomena
Overview
Statistical methods for the modeling and monitoring of time series of counts, proportions and categorical data, as well as for the modeling of continuous-time point processes of epidemic phenomena. The monitoring methods focus on aberration detection in count data time series from public health surveillance of communicable diseases, but applications could just as well originate from environmetrics, reliability engineering, econometrics, or social sciences. The package implements many typical outbreak detection procedures such as the (improved) Farrington algorithm, or the negative binomial GLR-CUSUM method of Hoehle and Paul (2008) doi:10.1016/j.csda.2008.02.015. A novel CUSUM approach combining logistic and multinomial logistic modeling is also included. The package contains several real-world data sets, the ability to simulate outbreak data, and to visualize the results of the monitoring in a temporal, spatial or spatio-temporal fashion. A recent overview of the available monitoring procedures is given by Salmon et al. (2016) doi:10.18637/jss.v070.i10. For the retrospective analysis of epidemic spread, the package provides three endemic-epidemic modeling frameworks with tools for visualization, likelihood inference, and simulation. hhh4() estimates models for (multivariate) count time series following Paul and Held (2011) doi:10.1002/sim.4177 and Meyer and Held (2014) doi:10.1214/14-AOAS743. twinSIR() models the susceptible-infectious-recovered (SIR) event history of a fixed population, e.g, epidemics across farms or networks, as a multivariate point process as proposed by Hoehle (2009) doi:10.1002/bimj.200900050. twinstim() estimates self-exciting point process models for a spatio-temporal point pattern of infective events, e.g., time-stamped geo-referenced surveillance data, as proposed by Meyer et al. (2012) doi:10.1111/j.1541-0420.2011.01684.x. A recent overview of the implemented space-time modeling frameworks for epidemic phenomena is given by Meyer et al. (2017) doi:10.18637/jss.v077.i11.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE2026-07-1611 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-07-0413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-1910 OK · 0 NOTE · 1 WARNING · 2 ERROR · 0 FAILURE
- WARNING2026-06-1412 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-1313 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 5 earlier snapshots
- ERROR2026-06-0411 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
- OK2026-04-2913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-04-2812 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 86%
- Return-value docs
- 84%
- References docs
- 10%
Downloads
Dependencies
Code & Tests
- Cyclomatic complexity
- 3.0 median / 238 max
- Test cases
- 138 / 0.07 per code line
Test coverage
Line coverage
36%
Expression
33.2%
Tests / Examples
35.8% / 69% ex
Functions
613 188 exported
Complexity
6.7 avg / 238 max
Call network
613 nodes / 600 edges
Call graph
Open call graph →Lowest coverage
613 functions| Function | Cyclo | Coverage |
|---|---|---|
| LRCUSUM.runlength exp | 11 | 0% |
| R0 exp | 1 | 0% |
| addFormattedXAxis exp | 8 | 0% |
| algo.bayes exp | 6 | 0% |
| algo.bayes1 exp | 1 | 0% |
| algo.bayes2 exp | 1 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| MMRcoverageDE | data.frame | 19 × 5 | – |
| campyDE | data.frame | 522 × 12 | – |
| husO104Hosp | data.frame | 630 × 2 | – |
3 internal objects are bundled for the package's own use and not listed here.
People & History
Show 8 more contributors
90 releases. Pick two to compare their code metrics. R releases are shown for context.
- 1.26.0Latest
- RR 4.6.0 released · 2026-04-24
- 1.25.02025-06-25 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.24.12024-11-05 · diff ↗
- 1.24.02024-10-01 · diff ↗
- 1.23.12024-09-02 · diff ↗
- 1.23.02024-05-04 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.22.12023-11-28 · diff ↗
- 1.22.02023-10-30 · diff ↗
- 1.21.12023-05-19 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.21.02023-03-15 · diff ↗
- 1.20.32022-11-16 · diff ↗
- 1.20.12022-07-19 · diff ↗
Show 102 earlier events
- RR 4.2.0 released · 2022-04-22
- 1.20.02022-02-16 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.19.12021-03-31 · diff ↗
- 1.19.02021-01-30 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.18.02020-03-19 · diff ↗
- 1.17.32019-12-16 · diff ↗
- 1.17.22019-11-12 · diff ↗
- 1.17.12019-09-13 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.17.02019-02-22 · diff ↗
- 1.16.22018-07-25 · diff ↗
- 1.16.12018-05-29 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.16.02018-01-23 · diff ↗
- 1.15.02017-10-06 · diff ↗
- 1.14.02017-06-30 · diff ↗
- 1.13.12017-04-29 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.13.02016-12-20 · diff ↗
- 1.12.22016-11-17 · diff ↗
- 1.12.12016-05-18 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.12.02016-04-03 · diff ↗
- 1.11.02016-02-09 · diff ↗
- 1.10-02015-11-06 · diff ↗
- 1.9-12015-06-12 · diff ↗
- 1.9-02015-06-11 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.8-32015-01-06 · diff ↗
- 1.8-22014-12-20 · diff ↗
- 1.8-12014-10-30 · diff ↗
- 1.8-02014-06-17 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 3.0.32013-11-19 · diff ↗
- 1.7-0-dup2013-11-19 · diff ↗
- 1.7-02013-11-19 · diff ↗
- 1.6-02013-09-09 · diff ↗
- 3.0.22013-09-03 · diff ↗
- 1.6-0-dup2013-09-03 · diff ↗
- 1.5-42013-04-21 · diff ↗
- 3.0.12013-04-19 · diff ↗
- 1.5-4-dup2013-04-19 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.5-22013-03-19 · diff ↗
- 3.0.02013-03-15 · diff ↗
- 1.5-2-dup2013-03-15 · diff ↗
- 1.5-12012-12-14 · diff ↗
- 2.15.32012-12-12 · diff ↗
- 1.5-1-dup2012-12-12 · diff ↗
- 1.5-0-dup2012-12-12 · diff ↗
- 1.5-02012-12-12 · diff ↗
- 1.4-22012-08-20 · diff ↗
- 2.15.22012-08-17 · diff ↗
- 1.4-2-dup2012-08-17 · diff ↗
- 1.4-12012-07-26 · diff ↗
- 1.4-1-dup2012-07-25 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 1.2-12012-01-15 · diff ↗
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- 2.11.12010-05-25 · diff ↗
- 1.2-1-dup2010-05-25 · diff ↗
- 1.1-62010-05-25 · diff ↗
- 1.1-6-dup2010-05-21 · diff ↗
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- 1.1-22009-10-15 · diff ↗
- 2.10.02009-10-14 · diff ↗
- 1.1-2-dup2009-10-14 · diff ↗
- 2.9.12009-05-03 · diff ↗
- 1.0-2-dup2009-05-03 · diff ↗
- RR 2.9.0 released · 2009-04-17
- 1.0-22009-03-06 · diff ↗
- RR 2.8.0 released · 2008-10-20
- RR 2.7.0 released · 2008-04-22
- 2.6.22008-01-21 · diff ↗
- 0.9-9-dup2008-01-21 · diff ↗
- 0.9-92008-01-21 · diff ↗
- 0.9-82008-01-19 · diff ↗
- 0.9-72007-11-18 · diff ↗
- 2.6.12007-11-17 · diff ↗
- 0.9-8-dup2007-11-17 · diff ↗
- 0.9-7-dup2007-11-17 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 2.5.12007-06-25 · diff ↗
- 0.9-6-dup2007-06-25 · diff ↗
- 0.9-62007-06-25 · diff ↗
- RR 2.5.0 released · 2007-04-24
- RR 2.4.0 released · 2006-10-03
- 2.4.02006-09-05 · diff ↗
- 0.9-2-dup2006-09-05 · diff ↗
- 0.9-22006-09-05 · diff ↗
- RR 2.3.0 released · 2006-04-24
- 2.2.12005-11-21 · diff ↗
- 0.9-1-dup2005-11-21 · diff ↗
- 0.9-12005-11-21 · diff ↗
- 0.9-dup2005-11-18 · diff ↗
- 0.92005-11-18
- RR 2.2.0 released · 2005-10-06
Package metadata
- First published
- 2005-11-18
- Total releases
- 90 / 21 yrs
- License
- GPL-2 OSI
- Additional repositories
- inla.r-inla-download.org
- Minimum R
- ≥ 3.6.0
- Bundled data
- 812 KB / 41 files
- Download size
- 3.7 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet