This book provides examples of exposure-response analysis with Bayesian methods.
The examples utilizes
BayesERtools
package.
- Tutorial (
BayesERbook
): https://genentech.github.io/BayesERbook/ - Package documentation: https://genentech.github.io/BayesERtools/
- GitHub repo of the package: https://github.com/genentech/BayesERtools/
You can install the package as follows:
install.packages('BayesERtools')
# devtools::install_github("genentech/BayesERtools") # development version
Binary endpoint
|
Continuous endpoint
|
|||
---|---|---|---|---|
Linear (logit) | Emax (logit) | Linear | Emax | |
backend | rstanarm |
rstanemax |
rstanarm |
rstanemax |
reference | 🔗 | 🔗 | 🔗 | 🔗 |
develop model | ✅ | ✅ | ✅ | ✅ |
simulate & plot ER | ✅ | ✅ | ✅ | ✅ |
exposure metrics selection | ✅ | ✅ | ✅ | ✅ |
covariate selection | ✅ | ❌ | ✅ | ❌ |
covariate forest plot | ✅ | ❌ | 🟡 | ❌ |
✅ Available, 🟡 In plan/under development, ❌ Not in a current plan |
Run usethis::use_tidy_style(strict = FALSE)
before committing to
ensure that the code is formatted appropriately.