R0
1.3-1Estimation of R0 and Real-Time Reproduction Number from Epidemics
Overview
Estimation of reproduction numbers for disease outbreak, based on incidence data. The R0 package implements several documented methods. It is therefore possible to compare estimations according to the methods used. Depending on the methods requested by user, basic reproduction number (commonly denoted as R0) or real-time reproduction number (referred to as R(t)) is computed, along with a 95% Confidence Interval. Plotting outputs will give different graphs depending on the methods requested : basic reproductive number estimations will only show the epidemic curve (collected data) and an adjusted model, whereas real-time methods will also show the R(t) variations throughout the outbreak time period. Sensitivity analysis tools are also provided, and allow for investigating effects of varying Generation Time distribution or time window on estimates.
Install
Health
NOTERd filesr-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, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) est.R0.ML.Rd:98: Lost braces
98 | Supplementary Material S1 from \doi{10.1186/1472-6947-12-147}{Obadia et al., 2012}.
| ^
checkRd: (-1) plot.R0.R.Rd:20: Lost braces
20 | Called for side effect. Draws all \eqn{R_{0}} or /eqn{R(t)} values from one estimation method.
| ^
checkRd: (-1) plot.R0.sR.Rd:20: Lost braces
20 | Called for side effect. Draws all \eqn{R_{0}} or /eqn{R(t)} values from an
| ^NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Thomas Obadia <thomas.obadia@pasteur.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Pierre-Yves",
family = "Boelle",
role = "aut"),
person(given = "Thomas",
family = "Obadia",
role = c("aut", "cre"),
email = "thomas.obadia@pasteur.fr"))
as necessary.- NOTE13 NOTE2026-09-08
- ERROR12 NOTE, 1 ERROR2026-09-07
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 44 (29 internal)
- Examples that run
- 100%12 run in a plain check
- Exported functions with examples
- 67%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 23%
Also includes 1 demo script (run with demo())
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- 74
Stars over time
Forks over time
Issues over time
PRs over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/tobadia/r0 on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing R0 adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Maintainer since 1.1 (2012)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.3-1Latest
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2022-09-05
- 1.2-10
- archivedRemoved from CRAN2022-06-10check problems were not corrected despite reminders
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.2-62015-05-21 · diff ↗
Show 13 earlier eventsHide 13 earlier events
- RR 3.2.0 released · 2015-04-16
- 1.2-52014-11-25 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.2-42013-12-13 · diff ↗
- 1.2-32013-10-07 · diff ↗
- 1.2-22013-09-02 · diff ↗
- 1.2-12013-07-09 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.2-02012-11-22 · diff ↗
- 1.1-32012-09-26 · diff ↗
- 1.1-22012-08-10 · diff ↗
- 1.12012-07-27
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-07-27
- Total releases
- 12 / 14 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.13.0
- Bundled data
- 1.1 KB / 3 files
- Download size
- 73 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("R0")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.