trialr: Clinical Trial Designs in 'rstan'

A collection of clinical trial designs and methods, implemented in 'rstan' and R, including: the Continual Reassessment Method by O'Quigley et al. (1990) <doi:10.2307/2531628>; EffTox by Thall & Cook (2004) <doi:10.1111/j.0006-341X.2004.00218.x>; and the Augmented Binary method by Wason & Seaman (2013) <doi:10.1002/sim.5867>; and more. We provide functions to aid model-fitting and analysis. The 'rstan' implementations may also serve as a cookbook to anyone looking to extend or embellish these models. We hope that this package encourages the use of Bayesian methods in clinical trials. There is a preponderance of early phase trial designs because this is where Bayesian methods are used most. If there is a method you would like implemented, please get in touch.

Version: 0.1.2
Depends: R (≥ 3.4.0), methods, Rcpp (≥ 1.0.1)
Imports: rstan (≥ 2.18.2), rstantools (≥ 1.5.1), rlang, dplyr, tidyr, purrr, magrittr, stringr, ggplot2, gtools, coda, tidybayes, tibble, binom, MASS
LinkingTo: StanHeaders (≥ 2.18.1), rstan (≥ 2.18.2), BH (≥ 1.69.0-1), Rcpp (≥ 1.0.1), RcppEigen (≥
Suggests: testthat, knitr, rmarkdown, ggridges, covr, DiagrammeR
Published: 2019-06-25
Author: Kristian Brock ORCID iD [aut, cre], Trustees of Columbia University [cph]
Maintainer: Kristian Brock <kristian.brock at>
License: GPL (≥ 3)
NeedsCompilation: yes
SystemRequirements: GNU make
Materials: README NEWS
CRAN checks: trialr results


Reference manual: trialr.pdf
Vignettes: BEBOP: Bayesian Evaluation of Bivariate Binary Outcomes and Predictive Information
Dose pathways with CRM
Visualisation with CRM
CRM: Continual Reassessment Method
Hierarchical Bayesian Model for Binary Responses
CRM Case Study 1 - Levy et al (2006)
Time-to-Event Continual Reassessment Method
Package source: trialr_0.1.2.tar.gz
Windows binaries: r-devel:, r-devel-gcc8:, r-release:, r-oldrel:
OS X binaries: r-release: trialr_0.1.2.tgz, r-oldrel: trialr_0.1.2.tgz
Old sources: trialr archive


Please use the canonical form to link to this page.