generated from epiverse-trace/packagetemplate
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add epidemic risk vignette and probability_contain()
#24
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
joshwlambert
added
documentation
Improvements or additions to documentation
enhancement
New feature or request
labels
Jun 8, 2023
jamesmbaazam
requested changes
Jun 8, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a nice vignette to illustrate a use case for the package. I've suggested a few changes that should be straightforward to fix.
Thanks for the comments @jamesmbaazam! |
Co-authored-by: James Azam <[email protected]>
Co-authored-by: James Azam <[email protected]>
joshwlambert
force-pushed
the
outbreak_risk_vig
branch
from
June 12, 2023 11:29
70331f7
to
5c05e2d
Compare
jamesmbaazam
approved these changes
Jun 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses #12 (and makes a start on #13).
The primary focus of this PR is to add a vignette that discusses the application of {superspreading} functions to decision making and policy. This takes inspiration from the document initially shared in #5 and mentioned in #12 which is a preprint used by SAGE during the COVID-19 pandemic.
As part of this vignette on control measures, a new function was added:
probability_contain()
. This implements population-level control measures. It does not complete the requirements of #13 which also requires individual level control and may relate to development from epiverse-trace/epichains#3.Tests and documentation are added for
probability_contain()
. {bpmodels} is added as a remote dependency, and {ggtext} as a suggested dependency.