Package: carat 2.2.1

Xiaoqing Ye

carat: Covariate-Adaptive Randomization for Clinical Trials

Provides functions and command-line user interface to generate allocation sequence by covariate-adaptive randomization for clinical trials. The package currently supports six covariate-adaptive randomization procedures. Three hypothesis testing methods that are valid and robust under covariate-adaptive randomization are also available in the package to facilitate the inference for treatment effect under the included randomization procedures. 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. See Ma W, Ye X, Tu F, and Hu F (2023) <doi:10.18637/jss.v107.i02> for details.

Authors:Fuyi Tu [aut], Xiaoqing Ye [aut, cre], Wei Ma [aut, ths], Feifang Hu [aut, ths]

carat_2.2.1.tar.gz
carat_2.2.1.tar.gz(r-4.5-noble)carat_2.2.1.tar.gz(r-4.4-noble)
carat_2.2.1.tgz(r-4.4-emscripten)carat_2.2.1.tgz(r-4.3-emscripten)
carat.pdf |carat.html
carat/json (API)
NEWS

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

Peer review:

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • pats - Data of Covariate Profile of Patients

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascppopenmp

2.03 score 36 scripts 933 downloads 3 mentions 27 exports 33 dependencies

Last updated 1 years agofrom:ed7736397f. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 02 2024
R-4.5-linux-x86_64OKDec 02 2024

Exports:AdjBCDAdjBCD.simAdjBCD.uiboot.testcompPowercompRandcorr.testDoptBCDDoptBCD.simDoptBCD.uievalPowerevalRandevalRand.simgetDataHuHuCARHuHuCAR.simHuHuCAR.uiPocSimMINPocSimMIN.simPocSimMIN.uirand.testStrBCDStrBCD.simStrBCD.uiStrPBRStrPBR.simStrPBR.ui

Dependencies:clicolorspacefansifarverggplot2gluegridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerRcppRcppArmadillorlangscalesstringistringrtibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
carat-package: Covariate-Adaptive Randomization for Clinical Trialscarat-package carat
Covariate-adjusted Biased Coin DesignAdjBCD
Covariate-adjusted Biased Coin Design with Covariate Data Generating MechanismAdjBCD.sim
Command-line User Interface Using Covariate-adjusted Biased Coin DesignAdjBCD.ui
Bootstrap t-testboot.test
Comparison of Powers for Different Tests under Different Randomization methodscompPower
Compare Different Randomization Procedures via Tables and PlotscompRand
Corrected t-testcorr.test
Atkinson's D_A-optimal Biased Coin DesignDoptBCD
Atkinson's D_A-optimal Biased Coin Design with Covariate Data Generating MechanismDoptBCD.sim
Command-line User Interface Using Atkinson's D_A-optimal Biased Coin DesignDoptBCD.ui
Evaluation of Tests and Randomization Procedures through PowerevalPower
Evaluation of Randomization ProceduresevalRand
Evaluation Randomization Procedures with Covariate Data Generating MechanismevalRand.sim
Data GenerationgetData
Hu and Hu's General Covariate-Adaptive RandomizationHuHuCAR
Hu and Hu's General Covariate-Adaptive Randomization with Covariate Data Generating MechanismHuHuCAR.sim
Command-line User Interface Using Hu and Hu's General Covariate-adaptive RandomizationHuHuCAR.ui
Data of Covariate Profile of Patientspats
Pocock and Simon's Method in the Two-Arms CasePocSimMIN
Pocock and Simon's Method in the Two-Arms Case with Covariate Data Generating MechanismPocSimMIN.sim
Command-line User Interface Using Pocock and Simon's Procedure with Two-Arms CasePocSimMIN.ui
Randomization Testrand.test
Shao's Method in the Two-Arms CaseStrBCD
Shao's Method in the Two-Arms Case with Covariate Data Generating MechanismStrBCD.sim
Command-line User Interface Using Shao's MethodStrBCD.ui
Stratified Permuted Block RandomizationStrPBR
Stratified Permuted Block Randomization with Covariate Data Generating MechanismStrPBR.sim
Command-line User Interface Using Stratified Permuted Block Randomization with Two-Arms CaseStrPBR.ui