Learn R Programming

⚠️There's a newer version (2.2.1) of this package.Take me there.

carat (version 1.1)

Covariate-Adaptive Randomization for Clinical Trials

Description

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.

Copy Link

Version

Install

install.packages('carat')

Monthly Downloads

665

Version

1.1

License

GPL (>= 2)

Maintainer

Xiaoqing Ye

Last Published

May 17th, 2020

Functions in carat (1.1)

HuHuCAR.ui

Command-line User Interface Using Hu and Hu's General Covariate-adaptive Randomization
compPower

Comparison of Powers for Different Tests under Different Randomization methods
HuHuCAR

Hu and Hu's General Covariate-Adaptive Randomization
HuHuCAR.sim

Hu and Hu's General Covariate-Adaptive Randomization with Covariate Data Generating Mechanism
DoptBCD.sim

Atkinson's \(D_A\)-optimal Biased Coin Design with Covariate Data Generating Mechanism
AdjBCD.sim

Covariate-adjusted Biased Coin Design with Covariate Data Generating Mechanism
DoptBCD

Atkinson's \(D_A\)-optimal Biased Coin Design
DoptBCD.ui

Command-line User Interface Using Atkinson's \(D_A\)-optimal Biased Coin Design
AdjBCD

Covariate-adjusted Biased Coin Design
AdjBCD.ui

Command-line User Interface Using Covariate-adjusted Biased Coin Design
StrPBR

Stratified Permuted Block Randomization
PocSimMIN.sim

Pocock and Simon's Method in the Two-Arms Case with Covariate Data Generating Mechanism
PocSimMIN

Pocock and Simon's Method in the Two-Arms Case
StrBCD.sim

Shao's Method in the Two-Arms Case with Covariate Data Generating Mechanism
StrBCD.ui

Command-line User Interface Using Shao's Method
getData

Data Generation
StrPBR.sim

Stratified Permuted Block Randomization with Covariate Data Generating Mechanism
corr.test

Corrected t-test
boot.test

Bootstrap t-test
evalPower

Evaluation of Tests and Randomization Procedures through Power
StrPBR.ui

Command-line User Interface Using Stratified Permuted Block Randomization with Two-Arms Case
carat-package

carat-package: Covariate-Adaptive Randomization for Clinical Trials
pats

Data of Covariate Profile of Patients
StrBCD

Shao's Method in the Two-Arms Case
PocSimMIN.ui

Command-line User Interface Using Pocock and Simon's Procedure with Two-Arms Case
rand.test

Randomization Test
evalRand.sim

Evaluation Randomization Procedures with Covariate Data Generating Mechanism
evalRand

Evaluation of Randomization Procedures
print.carandom

Print Methods for Sequences, Evaluation and Compariason for Covariate-Adaptive Randomization Procedures
compRand

Compare Different Randomization Procedures via Tables and Plots