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>.
# S3 method for carseq
StrBCD.ui(path, folder = "StrBCD")
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.
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
.
See StrBCD
.
See StrBCD
for allocating patients with complete covariate data; See StrBCD.sim
for allocating patients with covariate data generating mechanism.