Second minor release of superspreading. This release enhances functions added in v0.1.0 and adds two new exported functions, and two new vignettes.
New features
- A new function (
calc_network_R()
) to estimate the reproduction number for heterogeneous networks and a vignette outlining use cases for the function from existing epidemiological literature is added (#71). probability_epidemic()
andprobability_extinct()
now have individual-level and population-level control in a joint framework (#70).proportion_*()
functions can now return proportion columns of the output<data.frame>
asnumeric
when the new argumentformat_prop
is set toFALSE
(#72).- A new design principles vignette to document package development is added (#68).
- Added a helper function (
ic_tbl()
) to improve model comparison tables (#65). probability_*()
functions now accept dynamic dots ({rlang} is added as a dependency) (#82).
Breaking changes
ind_control
andpop_control
arguments replacecontrol
andcontrol_type
arguments inprobability_contain()
; and the argument default fornum_init_infect
is removed (#70).- Changed
epidist
argument tooffspring_dist
to follow Epiverse style (affects several functions) (#64). - Argument in
proportion_transmission()
has been renamed fromsim
tosimulate
(#81).
Minor changes
- New package hex logo (#73).
- Updated continuous integration and package infrastructure (#67).
- Improved function documentation (#63).
- Optimisation now uses
optim()
by default (#82). - Testing suite now uses snapshot testing for regression tests (#84).
Bug fixes
- None to {superspreading} functions.
- Update {epiparameter} use in vignette and tests (#62).
Deprecated and defunct
- None