-
Notifications
You must be signed in to change notification settings - Fork 1
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
Prevalence division option #34
Comments
I had quick play with this on my machine. Sorry, there was a bit of a confusion and I perhaps should have picked up on this from our conversation. The prevalence value outputted by PoolPrev etc. needs to be multiplied by a value, not divided by it. Multiplying by 100 would give the prevalence per 100 units (i.e. the prevalence as a percentage) Multiplying by 2000 would give you the prevalence per 2000 units etc. I think the confusion comes because we talk about prevalence per X. |
Thanks for catching that, will push and deploy shortly. Was getting it running locally straightforward? |
Getting it running locally was not hard, but I had to reinstall all the packages that it depended on into the renv thing. This took a while. One suggestion to make this faster is to have a commented out line in global.R or app.R which installs all the packages that have a library() call somewhere in the app. That way you just run that line once on your local machine. Thoughts? There may be better ways to do this, but I don't really know how renv works
|
Will need to double check but I think the workflow should be something like: renv::install()
renv::activate() Then run app |
I updated the prevalence multiplication code for both MLE and Bayesian. I implemented the boolean flag documented by Fred for when no multiplication is desired, which sets N=1. The ICC columns are not affected by N and do not undergo multiplication. Still no sanity checks - specifically, consider negative N values. |
Not yet deployed as of writing this, but a9a5c6a introduces an option to divide prevalence and CI/CrI outputs by a provided value (2000 by default). Minimal testing completed, but some outstanding issues/to-dos:
The text was updated successfully, but these errors were encountered: