Skip to content

RARtrials

0.0.2

Response-Adaptive Randomization in Clinical Trials

0packages depend
2Kdownloads / year
0.0%test coverage
13/13checks pass

Overview

About
Maintained by Chuyao XuFirst published 2024-06-042 releasesCRAN page ↗GitHub ↗

Some response-adaptive randomization methods commonly found in literature are included in this package. These methods include the randomized play-the-winner rule for binary endpoint (Wei and Durham (1978) doi:10.2307/2286290), the doubly adaptive biased coin design with minimal variance strategy for binary endpoint (Atkinson and Biswas (2013) doi:10.1201/b16101, Rosenberger and Lachin (2015) doi:10.1002/9781118742112) and maximal power strategy targeting Neyman allocation for binary endpoint (Tymofyeyev, Rosenberger, and Hu (2007) doi:10.1198/016214506000000906) and RSIHR allocation with each letter representing the first character of the names of the individuals who first proposed this rule (Youngsook and Hu (2010) doi:10.1198/sbr.2009.0056, Bello and Sabo (2016) doi:10.1080/00949655.2015.1114116), A-optimal Allocation for continuous endpoint (Sverdlov and Rosenberger (2013) doi:10.1080/15598608.2013.783726), Aa-optimal Allocation for continuous endpoint (Sverdlov and Rosenberger (2013) doi:10.1080/15598608.2013.783726), generalized RSIHR allocation for continuous endpoint (Atkinson and Biswas (2013) doi:10.1201/b16101), Bayesian response-adaptive randomization with a control group using the Thall \& Wathen method for binary and continuous endpoints (Thall and Wathen (2007) doi:10.1016/j.ejca.2007.01.006) and the forward-looking Gittins index rule for binary and continuous endpoints (Villar, Wason, and Bowden (2015) doi:10.1111/biom.12337, Williamson and Villar (2019) doi:10.1111/biom.13119).

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.33
0.0%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 509 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
83%
Return-value docs
100%
References docs
88%

Downloads

2K
CRAN downloads in the past year
Rank #22,914 · ~5/day · ~167/mo
Daily download trend is not available in this view yet.
10830 days
47190 days
2K1 year
Compare downloads with other packages →
Also on103 r2u29 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
License GPL-3.0 · Last activity 2026-02-03

Repository practices

Upstream repositoryBeta

Checks run against github.com/yayayaoyaoyao/rartrials on 2026-08-23.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (3)
R >= 4.3statspins
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author, Thesis advisor
Author, Thesis advisor
Copyright holders (2)
Copyright holder
Copyright holder
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.0.2Latest
    2025-04-03 · current release · diff ↗
  • 0.0.1
    2024-06-04
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-06-04
Total releases
2 / 2 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.3
Download size
410 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("RARtrials")
Xu, C., Lumley, T., Vandal, A., Villar, S. S., & Wathen, K. J. (2025). RARtrials: Response-Adaptive Randomization in Clinical Trials (Version 0.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.RARtrials

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for RARtrials version 0.0.2 [Data set]. HJJB, LLC. Data release v2026-08-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy