knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/index-", out.width = "100%" )
The adoptr package enables exploring optimal adaptive two-stage designs for clinical trials with one or two arms. Currently, only normally distributed test statistics with known variance are supported.
adoptr is avilable on CRAN and the most recent release ca be installed using
install.packages("adoptr")
.
Alternatively, the current development version can be installed directly from GitHub with:
# install.packages("devtools") devtools::install_github("kkmann/adoptr")
We provide an extensive validation suite for adoptr in the separate package adoptrValidation. The rationale behind externalizing the validation suit is to keep the main package test suit lean and focused on checking technical correctness. We also want to ensure that the validation suit is transparent and accessible. It is thus implemented as a set of vignettes in the separate package adoptrValidation. The entire validation report is made accessible at https://kkmann.github.io/adoptrValidation/. The website is re-build on a weekly basis to ensure that the presented validation report is up-to-date with the master branch of adoptr. To validate a specific version of adoptr, just download and install the validation package an build the contained vignettes locally.
A theoretical investigation of optimal two-stage designs is described in:
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.