R-CMD-check Codecov test coverage CRAN status

Adaptive optimal two-stage designs for clinical trials with one or two arms. For details on the core theoretical background, see:

Pilz M, Kunzmann K, Herrmann C, Rauch G, Kieser M. A variational approach to optimal two-stage designs. Statistics in Medicine. 2019;38(21):4159–4171. https://doi.org/10.1002/sim.8291


Install the latest CRAN release via

and the development version directly from GitHub with:



The documentation is hosted at https://kkmann.github.io/adoptr.

Validation Report

We provide an extensive validation report for adoptr which is implemented using the bookdown package. The sources are available at https://github.com/kkmann/adoptr-validation-report and the last build version is hosted at https://kkmann.github.io/adoptr-validation-report.