Uses package EpiEstim <https://github.com/mrc-ide/EpiEstim> by Cori et al. <https://doi.org/10.1093/aje/kwt133> and generation times per Ferretti et al. <https://doi.org/10.1101/2020.09.04.20188516>. Explores a range of generation time distributions that are likely for Bulgaria. See longer explanation in repo wiki: <https://github.com/StanTraykov/c19bg/wiki>.

c19_estimate_r(country_data = c19_bg_data())

Arguments

country_data

country data

Details

Also stores a hash of the input data (.Rhash in data dir) and skips calculation if hash matches and estR.csv is already present.

See also

Examples

if (FALSE) { c19_estimate_r() # save to csv file result <- c19_estimate_r() # also save to variable }