StrPBR.ui | R Documentation |
A call to the user-iterface function used to allocate patients to one of two treatments using stratified permuted block randomization proposed by Zelen M (1974) <doi: 10.1016/0021-9681(74)90015-0>.
StrPBR.ui(path, folder = "StrPBR")
path |
the path in which a folder used to storage variables will be created. |
folder |
name of the folder. If default, a folder named |
See StrPBR
.
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 StrPBR.ui
.
This function provides a command-line interface and users should follow the prompts to enter data including covariates as well as levels for each covariate, block size bsize
and the covariate profile of the new patient.
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.
Zelen M. The randomization and stratification of patients to clinical trials[J]. Journal of chronic diseases, 1974, 27(7): 365-375.
See StrPBR
for allocating patients with complete covariate data; See StrPBR.sim
for allocating patients with covariate data generating mechanism.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.