Learn R Programming

R0 (version 1.3-1)

R.from.r: 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)

Value

A numeric value for R.

Arguments

r

The exponential growth rate.

GT

Generation time distribution from generation.time().

Author

Pierre-Yves Boelle, Thomas Obadia

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()).

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.