Skip to content
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

Update probability_contain in Epidemic Risk vignette #76

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

joshwlambert
Copy link
Member

This PR fixes the probability of containment calculation (probability_contain()) in the Epidemic Risk vignette (epidemic_risk.Rmd). Since #70 the last plot in epidemic_risk.Rmd was not correct as the arguments were not updated and the old arguments were being silently swallowed by .... This is now fixed.

Additionally, the calculation has switched from using the numerical/simulated calculation to the analytical one. This both improves the speed of the vignette rendering, and moves in the general direction of preferring analytical versus numerical calculations for {superspreading}.

@joshwlambert joshwlambert merged commit 63d2c44 into main Jan 9, 2024
9 checks passed
@joshwlambert joshwlambert deleted the updt_control_vig branch January 9, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant