Skip to content

RARfreq

0.1.5

Response Adaptive Randomization with 'Frequentist' Approaches

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

Overview

About
Maintained by Xiu HuangFirst published 2023-03-023 releasesCRAN page ↗

Provides functions and command-line user interface to generate allocation sequence by response-adaptive randomization for clinical trials. The package currently supports two families of frequentist response-adaptive randomization procedures, Doubly Adaptive Biased Coin Design ('DBCD') and Sequential Estimation-adjusted Urn Model ('SEU'), for binary and normal endpoints. One-sided proportion (or mean) difference and Chi-square (or 'ANOVA') hypothesis testing methods are also available in the package to facilitate the inference for treatment effect. Additionally, the package provides comprehensive and efficient tools to allow one to evaluate and compare the performance of randomization procedures and tests based on various criteria. For example, plots for relationship among assumed treatment effects, sample size, and power are provided. Five allocation functions for 'DBCD' and six addition rule functions for 'SEU' are implemented to target allocations such as 'Neyman', 'Rosenberger' Rosenberger et al. (2001) doi:10.1111/j.0006-341X.2001.00909.x and 'Urn' allocations.

Install

Health

CRAN checks
13OK
Slowest check: 2.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.00
0.0%
Coverage · measured lines
100%
Documentation · exports
10
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 · 59 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
6%

Downloads

7.3K
CRAN downloads in the past year
Rank #6,708 · ~20/day · ~605/mo
Daily download trend is not available in this view yet.
22230 days
1.2K90 days
7.3K1 year
Compare downloads with other packages →
Also on117 r2u25 autocran

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author · added in 0.1.4
Listed in earlier versions (1)
no longer listed · 0.1.4
Package Timeline

3 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.1.5Latest
    2024-05-07 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.4
    2023-04-04 · diff ↗
  • 0.1.3
    2023-03-02
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-03-02
Total releases
3 / 3 yrs
License
MIT + file LICENSE OSI
Download size
38 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("RARfreq")
Huang, X., Wang, L., Yu, M., & Zhu, H. (2024). RARfreq: Response Adaptive Randomization with 'Frequentist' Approaches (Version 0.1.5) [Computer software]. https://doi.org/10.32614/CRAN.package.RARfreq

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 RARfreq version 0.1.5 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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