DOI Travis build status Codecov test coverage CRAN status

knitr::opts_chunk$set(
  collapse  = TRUE,
  comment   = "#>",
  fig.path  = "man/figures/index-",
  out.width = "100%"
)

adoptr

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.

Installation

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")

Validation

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.

References

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



kkmann/otsd documentation built on Feb. 3, 2024, 4:50 p.m.