A call to the user-iterface function used to allocate patients to one of two treatments using Hu and Hu's general covariate-adaptive randomization method as proposed by Hu Y, Hu F (2012) <doi:10.1214/12-AOS983>.
HuHuCAR.ui(path, folder = "HuHuCAR")
It returns an object of class
"carseq"
.
The function print
is used to obtain results. The generic accessor functions assignment
, covariate
, cov_num
, cov_profile
and others extract various useful features of the value returned by HuHuCAR.ui
.
the path in which a folder used to store variables will be created.
name of the folder. If default, a folder named "HuHuCAR"
will be created.
See HuHuCAR
Hu Y, Hu F. Asymptotic properties of covariate-adaptive randomization[J]. The Annals of Statistics, 2012, 40(3): 1794-1815.
Ma W, Ye X, Tu F, Hu F. carat: Covariate-Adaptive Randomization for Clinical Trials[J]. Journal of Statistical Software, 2023, 107(2): 1-47.
See HuHuCAR
for allocating patients with complete covariate data; See HuHuCAR.sim
for allocating patients with covariate data generating mechanism.