R/stan_efftox_demo.R
stan_efftox_demo.Rd
Fit the EffTox model presented in Thall et al. (2014) using Stan for full Bayesian inference.
stan_efftox_demo(outcome_str, ...)
outcome_str | A string representing the outcomes observed hitherto.
See |
---|---|
... | Extra parameters are passed to |
An object of class efftox_fit
Thall, P., & Cook, J. (2004). Dose-Finding Based on Efficacy-Toxicity Trade-Offs. Biometrics, 60(3), 684-693.
Thall, P., Herrick, R., Nguyen, H., Venier, J., & Norris, J. (2014). Effective sample size for computing prior hyperparameters in Bayesian phase I-II dose-finding. Clinical Trials, 11(6), 657-666. https://doi.org/10.1177/1740774514547397
Brock, K., Billingham, L., Copland, M., Siddique, S., Sirovica, M., & Yap, C. (2017). Implementing the EffTox dose-finding design in the Matchpoint trial. BMC Medical Research Methodology, 17(1), 112. https://doi.org/10.1186/s12874-017-0381-x
if (FALSE) { # This model is presented in Thall et al. (2014) mod2 <- stan_efftox_demo('1N 2E 3B', seed = 123) # The seed is passed to the Stan sampler. The usual Stan sampler params like # cores, iter, chains etc are passed on too via the ellipsis operator. }