R.from.r: Estimate reproduction number from exponential growth rate

View source: R/R.from.r.R

R.from.rR Documentation

Estimate reproduction number from exponential growth rate

Description

Calculates the basic reproduction number R_{0} from the exponential growth rate obtained by either Poisson or log-linear regression.

Usage

R.from.r(r, GT)

Arguments

r

The exponential growth rate.

GT

Generation time distribution from generation.time().

Details

For internal use. Called by est.R0.EG().

R_{0} is calculated as the inverse of the discretized Laplace transform, making use of the discretized generation time distirbution (output from generation.time()).

Value

A numeric value for R.

Note

The formula for the discretized Laplace transform is taken from Wallinga & Lipsitch (2007).

Author(s)

Pierre-Yves Boelle, Thomas Obadia

References

Wallinga, J., and M. Lipsitch. "How Generation Intervals Shape the Relationship Between Growth Rates and Reproductive Numbers." Proceedings of the Royal Society B: Biological Sciences 274, no. 1609 (2007): 599.


R0 documentation built on Sept. 26, 2023, 5:10 p.m.

Related to R.from.r in R0...