Learn R Programming

⚠️There's a newer version (1.3-1) of this package.Take me there.

R0 (version 1.2-10)

Estimation of R0 and Real-Time Reproduction Number from Epidemics

Description

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.

Copy Link

Version

Install

install.packages('R0')

Monthly Downloads

475

Version

1.2-10

License

GPL (>= 2)

Maintainer

Thomas Obadia

Last Published

September 5th, 2022

Functions in R0 (1.2-10)

est.R0.ML

Estimate the reproduction number by maximum likelihood
est.R0.SB

Estimate the time dependent reproduction number using a Bayesian approach
get.scale

Internal scaling function to display proper X-Axis labels
inspect.data

Inspect input data for common issues
generation.time

Generation Time distribution
impute.incid

Optimiziation routine for incidence imputation
fit.epid

Compute the Poisson log - likelihood between epid and epidemic simulated with R and GT
fit.epid.optim

Joint estimation of GT distribution and R
estimate.R

Estimate R0 for one incidence dataset using several methods
est.R0.TD

Estimate the time dependent reproduction number
integrity.checks

Input parameters integrity checks
plot.R0.S

Plot objects from sensitivity.analysis
plot.R0.GT

Print the characteristics of the generation time distribution
plot.R0.R

Plot the R0/Rt value along with confidence interval
plotRTD

Internal plot method for TD estimates
print.R0.R

Print the R estimate
print.R0.GT

Print the characteristics of the generation time distribution
plotRSB

Internal plot method for SB estimates
sa.GT

Sensitivity analysis of reproduction ratio with varying GT distribution
sim.epid

Epidemic outbreak simulation
sim.epid.indiv

Influenza-like illness simulation (individual-based model)
print.R0.sR

Plot the R0/Rt value along with confidence interval of all requested models to epidemic data
plotfit

Generic S3 method to plot either "R0.R" and "R0.sR" objects
smooth.Rt

Smooth real-time reproduction number over larger time period
plotfitRAR

Internal plotfit method for AR estimates
sa.time

Sensitivity analysis of basic reproduction ratio to begin/end dates
sensitivity.analysis

Sensitivity analysis of basic reproduction ratio to begin/end dates
plotfitRSB

Internal plot method for SB estimates
plotRAR

Internal plot method for AR estimates
plotfitRxx

Internal plotfit method for EG, ML and TD estimates
plot.R0.sR

Plot the R0/Rt value along with confidence interval of all requested models to epidemic data
plotREG

Internal plot method for EG estimates
plotRML

Internal plot method for ML estimates
plotfit.R0.sR

Plot the fit of all requested models to epidemic data
plotfit.R0.R

Plot the fit of a model to epidemic data
R.from.r

Compute the discretized Laplace Transform using a discretized Generation Time distribution
est.R0.AR

Estimate R0 from attack rate of an epidemic
check.incid

Check incid in the input
est.R0.EG

Estimate R from exponential growth rate
est.GT

Find the best-fitting GT distribution for a series of serial interval
Germany.1918

Germany.1918 exemple dataset
GT.chld.hsld

2009 A/H1N1 observed Generation Time distribution
R0-package

Estimation of R0 and Real-Time Reproduction Number from Epidemics
censored.deviation

Impute censored cases to rebuild longer epidemic vector
H1N1.serial.interval

H1N1 serial interval sample