A call to the user-interface function used to allocate patients to one of two treatments using Shao's method proposed by Shao J, Yu X, Zhong B (2010) <doi:10.1093/biomet/asq014>.
StrBCD.ui(path, folder = "StrBCD")
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 StrBCD.ui
.
the path in which a folder used to storage variables will be created.
name of the folder. If default, a folder named "StrBCD"
will be created.
See StrBCD
.
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.
Shao J, Yu X, Zhong B. A theory for testing hypotheses under covariate-adaptive randomization[J]. Biometrika, 2010, 97(2): 347-360.
See StrBCD
for allocating patients with complete covariate data; See StrBCD.sim
for allocating patients with covariate data generating mechanism.