loading package
library (R0)
## Loading required package: MASS
library (likelihood)
## Loading required package: nlme
load data
data(Germany.1918)
estimate Ro using maximum likelihood method
GT = generation.time("gamma", c(2.45,1.38))
est.R0.ML(Germany.1918, GT)
## Reproduction number estimate using Maximum Likelihood method.
## R : 1.205348[ 1.152364 , 1.259946 ]
Description: Reproductive number by using maximum likelihood method of 1918 influenza pandemic in Germany is 1.21