epiverse-trace / finalsize

R package to calculate the final size of an SIR epidemic in populations with heterogeneity in social contacts and disease susceptibility
https://epiverse-trace.github.io/finalsize/
Other
11 stars 7 forks source link

Add r0 to final_size #77

Closed pratikunterwegs closed 2 years ago

pratikunterwegs commented 2 years ago

This PR mostly adds an explicit r0 argument for R0 to final_size, along with documentation and checks for assumptions on the contact matrix. This fixes #75.#76

Also includes a renaming of .epi_spread to .prepare_data and fixes #76.

This branch is based on feature/single_func, and will be rebased on to main once #73 is merged.

pratikunterwegs commented 2 years ago

Closing this PR as it is superseded by the merge of #78 into feature/single_func. Merging #73 should include all changes proposed here into main.