Skip to content

RARfreq

0.1.5Package record

Response Adaptive Randomization with 'Frequentist' Approaches

0packages depend
6.7Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

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: 3.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.5
READMEYes · 59 wordsVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
18
Examples that run
100%18 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
6% with a bibliography file

Downloads

6.7K
CRAN downloads in the past year
Rank #9,444 · ~18/day · ~555/mo
Daily download trend is not available in this view yet.
35130 days
1.1K90 days
6.7K1 year
Compare downloads with other packages →
Also on85 r2u4 autocran

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing RARfreq adds 37 packages (20 with compiled code, 42 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (4)
Author, Maintainer since 0.1.3 (2023)
Author · added in 0.1.4
Listed in earlier versions (1)
no longer listed · 0.1.4
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.5Latest
    record
    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
    record
    2023-04-04 · diff ↗
  • 0.1.3
    record
    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

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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-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