epiverse-trace / superspreading

Estimation of individual level variation in transmission
https://epiverse-trace.github.io/superspreading/
Other
4 stars 2 forks source link

Fix {epiparameter} use in {superspreading} #62

Closed joshwlambert closed 11 months ago

joshwlambert commented 11 months ago

This PR addresses #61 by updating the {superspreading} package to use the newest features and accommodate breaking changes from the {epiparameter} package.

The single_epidist argument is added to epidist_db() calls to ensure only a single <epidist> is returned from the function. suppressMessages() replaces suppressWarnings() when calling epidist_db() in tests. The author names given to the author argument of epidist_db() are updated to remove "_etal". Epidemiological distributions provided to the epi_dist argument are now whitespace separated (not necessary but is now the preferred style from {epiparameter}).

The superspreading.Rmd vignette is updated to use the updated Ebola offspring distribution from the {epiparameter} database and updates to the text are made given changes in interpretation of function outputs.