Package: adaptr 1.5.0

Anders Granholm

adaptr: Adaptive Trial Simulator

Package that simulates adaptive (multi-arm, multi-stage) clinical trials using adaptive stopping, adaptive arm dropping, and/or adaptive randomisation. Developed as part of the INCEPT (Intensive Care Platform Trial) project (<https://incept.dk/>), primarily supported by a grant from Sygeforsikringen "danmark" (<https://www.sygeforsikring.dk/>).

Authors:Anders Granholm [aut, cre], Benjamin Skov Kaas-Hansen [aut], Aksel Karl Georg Jensen [ctb], Theis Lange [ctb]

adaptr_1.5.0.tar.gz
adaptr_1.5.0.zip(r-4.7-any)adaptr_1.5.0.zip(r-4.6-any)adaptr_1.5.0.zip(r-4.5-any)
adaptr_1.5.0.tgz(r-4.6-any)adaptr_1.5.0.tgz(r-4.5-any)
adaptr_1.5.0.tar.gz(r-4.7-any)adaptr_1.5.0.tar.gz(r-4.6-any)
adaptr_1.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
adaptr/json (API)

# Install 'adaptr' in R:
install.packages('adaptr', repos = c('https://inceptdk.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/inceptdk/adaptr/issues

Pkgdown/docs site:https://inceptdk.github.io

On CRAN:

Conda:

6.17 score 16 stars 31 scripts 702 downloads 17 exports 0 dependencies

Last updated from:46c40b0c5c. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK177
source / vignettesOK207
linux-releaseOK177
macos-releaseOK220
macos-oldrelOK224
windows-develOK115
windows-releaseOK154
windows-oldrelOK160
wasm-releaseOK116

Exports:calibrate_trialcheck_performancecheck_remaining_armsextract_resultsfind_beta_paramsplot_convergenceplot_historyplot_metrics_ecdfplot_statusrun_trialrun_trialssetup_clustersetup_trialsetup_trial_binomsetup_trial_normupdate_saved_calibrationupdate_saved_trials

Dependencies:

Overview
Usage and workflow overview | Setup | Specify trial design | Calibration | Summarising results | Visualising results | Use calibrated stopping thresholds in another scenario | Citation

Last update: 2026-03-30
Started: 2022-03-14

Advanced example
Preamble | Functions for generating outcomes | Functions for drawing posterior samples | Informative priors | Defining the function to generate posterior draws | Specifying the function to calculate raw outcome estimates | Setup the trial specification

Last update: 2026-03-27
Started: 2022-03-14

Basic examples
Trial designs without a common control arm | Example 1: general settings | Example 2: equivalence testing, decreasing softening | Trial designs with a common control arm | Example 3: common control and sqrt-based fixed allocation | Example 4: sqrt-based initial allocation and restricted RAR | Example 5: sqrt-based allocation only to initial control arm | Example 6: restricted RAR, matched control-arm allocation | Example 7: follow-up and data collection lag | Example 8: different probability thresholds over time | Example 9: minimum allocation probabilities rescaled when arms are dropped | Example 10: adaptation rule probability thresholds rescaled when arms are dropped

Last update: 2026-03-27
Started: 2022-03-14