-
Notifications
You must be signed in to change notification settings - Fork 14
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
lm pcr prevalence explicit #298
Conversation
…on't think it needs to be multiplied by psi. When these values are drawn in lines 135-140 of biting_process.R they get multiplied by psi in line 144. That means we're effectively multiplying these values by psi^2. I think we can correct this by adjusting the calculation thusly. The two tests at the end would then need adjusting (one way or another) to reflect this change - which could use improving.
… to rendering tests to reflect additional outputs.
827ffd7
to
b9b923c
Compare
…n from another PR.
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.
I approve! As long as n_detect_pcr
including all of U is something that users would expect. @pwinskill ?
Good question Giovanni! |
Just checked with Lucy and she says that's all good! |
calculate_eir function correction
dqrng just released a new version, which means we can stop relying on the mrc-ide r-universe as an additional repository.
Depend on dqrng from CRAN again.
… to rendering tests to reflect additional outputs.
…n from another PR.
…de/malariasimulation into lm_pcr_prevalence_explicit
malariasimulation currently only outputs lm prevalence, but it may be useful to also output pcr prevalence. I've added this functionality in.