c19_estimate_r: Estimate reproductive number for Bulgaria.

Description Usage Arguments Details See Also Examples

View source: R/c19_estimate_r.R

Description

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

Usage

1
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

c19_r_plot()

Examples

1
2
3
4
5
## Not run: 
c19_estimate_r() # save to csv file
result <- c19_estimate_r() # also save to variable

## End(Not run)

StanTraykov/c19bg documentation built on Nov. 2, 2021, 4:46 a.m.