Skip to content

RARfreq

0.1.5

Response Adaptive Randomization with 'Frequentist' Approaches

0packages depend
7.5Kdownloads / year
0.0%test coverage
12/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
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 3.4 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.00
0.0%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
  • 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.5K
CRAN downloads in the past year
Rank #6,035 · ~20/day · ~623/mo
Daily download trend is not available in this view yet.
28930 days
1.5K90 days
7.5K1 year
Compare downloads with other packages →
Also on94 r2u

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