trialr: Clinical Trial Designs in 'RStan'

A showcase of Bayesian clinical trial designs, implemented in 'RStan' and R, including the Continual Reassessment Method (CRM) and EffTox. Given the emphasis on flexibility in Bayesian analysis, the implementations in a common language and style may serve as a cookbook to encourage the use of Bayesian methods in trials. Compiled 'RStan' models are installed, alongside helper classes and functions to work with models. There is a preponderance of early phase trial designs because this is where Bayesian methods are used most. If there is a published Bayesian design you want implemented in 'Stan', get in touch.

Version: 0.1.1
Depends: R (≥ 3.4.0), methods, Rcpp (≥ 1.0.1)
Imports: rstan (≥ 2.18.2), rstantools (≥ 1.5.1), dplyr, tidyr, purrr, magrittr, stringr, ggplot2, gtools, coda, tidybayes, tibble
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-05-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.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: trialr_0.1.1.tgz, r-oldrel: trialr_0.1.1.tgz
Old sources: trialr archive


Please use the canonical form to link to this page.