R.from.r | R Documentation |
Calculates the basic reproduction number R_{0}
from the exponential
growth rate obtained by either Poisson or log-linear regression.
R.from.r(r, GT)
r |
The exponential growth rate. |
GT |
Generation time distribution from |
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()
).
A numeric value for R.
The formula for the discretized Laplace transform is taken from Wallinga & Lipsitch (2007).
Pierre-Yves Boelle, Thomas Obadia
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.