Compute, Handle, Plot and Model Incidence of Dated Events
Overview
Provides functions and classes to compute, handle and visualise incidence from dated events for a defined time interval. Dates can be provided in various standard formats. The class 'incidence' is used to store computed incidence and can be easily manipulated, subsetted, and plotted. In addition, log-linear models can be fitted to 'incidence' objects using 'fit'. This package is part of the RECON (https://www.repidemicsconsortium.org/) toolkit for outbreak analysis.
- No user facing changes. Fixes some internal oddities flagged by @teunbrand whilst running ggplot2 reverse dependency checks.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 16
- Examples that run
- 100%16 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 73%
- Help pages citing references
- 0%
Also includes 1 demo script (run with demo())
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/reconhub/incidence on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 3 practices
Dependencies
Installing incidence adds 18 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.
Code & Tests
People & History
Previously maintained by Zhian N. Kamvar (1.4.1 to 1.7.2) and Thibaut Jombart (1.0.0 to 1.3.1).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.7.6Latest
- RR 4.5.0 released · 2025-04-11
- 1.7.52024-05-31 · diff ↗
- 1.7.42024-05-15 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.7.32020-11-04 · diff ↗
- 1.7.22020-07-24 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.7.12020-03-25 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.7.0
- 1.5.42019-01-15 · diff ↗
Show 15 earlier eventsHide 15 earlier events
- 1.5.22018-11-30 · diff ↗
- 1.5.0
- 1.4.12018-08-24 · diff ↗ ·
added 8 exports
bootstrap, estimate_peak, find_peak, get_counts, get_dates, get_fit, get_info, get_interval - 1.3.12018-06-11 · diff ↗
- 1.3.02018-06-01 · diff ↗ ·
removed 3 exports
pal1, pal1dark, pal1lightadded 5 exports
add_incidence_fit, cumulate, incidence_pal1, incidence_pal1_dark, incidence_pal1_light - RR 3.5.0 released · 2018-04-23
- 1.2.12017-11-12 · diff ↗
- 1.2.0
- RR 3.4.0 released · 2017-04-21
- 1.1.22017-03-24 · diff ↗
- 1.1.12017-02-15 · diff ↗
- 1.1.02016-12-13 · diff ↗
- 1.0.12016-11-23 · diff ↗
- 1.0.02016-11-03
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-11-03
- Total releases
- 20 / 10 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 1.5 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("incidence")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
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.