Simulation and Analysis of Adaptive Bayesian Clinical Trials

Simulation and analysis of Bayesian adaptive clinical trial, incorporates historical data and allows early stopping for futility or early success.

Build Status CRAN_Status_Badge License: GPL v3 Build status codecov lifecycle

Authors: Thevaa Chandereng, Donald Musgrove, Tarek Haddad, Graeme Hickey, Timothy Hanson and Theodore Lystig


bayesCT is a R package for simulation and analysis of adaptive Bayesian randomzied controlled trials under a range of trial designs and outcome types. Currently, it supports Gaussian and binomial. The time-to-event data will be added shortly. The bayesCT package website is available here. Please note this package is still under development.


Prior to analyzing your data, the R package needs to be installed. The easiest way to install bayesCT is through CRAN:


There are other additional ways to download bayesCT. The first option is most useful if want to download a specific version of bayesCT (which can be found at

devtools::install_github("thevaachandereng/[email protected]")
devtools::install_version("bayesCT", version = "x.x.x", repos = "")

The second option is to download through GitHub:


After successful installation, the package must be loaded into the working space:



See the vignettes for usage instructions and example.


bayesCT is available under the open source GNU General Public License, version 3.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.99.0 by Thevaa Chandereng, 23 days ago

Report a bug at

Browse source code at

Authors: Thevaa Chandereng [aut, cre, cph] , Donald Musgrove [aut, cph] , Tarek Haddad [aut, cph] , Graeme Hickey [aut, cph] , Timothy Hanson [aut, cph] , Theodore Lystig [aut, cph]

Documentation:   PDF Manual  

GPL-3 license

Imports tidyr, dplyr, knitr, bayesDP, parallel, purrr, msm, magrittr, devtools

Suggests testthat, rmarkdown, pkgdown

See at CRAN