PocSimMIN.ui {carat} | R Documentation |
Command-line User Interface Using Pocock and Simon's Procedure with Two-Arms Case
Description
A call to the user-iterface function used to allocate patients to one of two treatments using Pocock and Simon's method proposed by Pocock S J, Simon R (1975) <doi:10.2307/2529712>.
Usage
PocSimMIN.ui(path, folder = "PocSimMIN")
Arguments
path |
the path in which a folder used to storage variables will be created. |
folder |
name of the folder. If default, a folder named |
Details
See PocSimMIN
.
Value
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 PocSimMIN.ui
.
Note
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, weight
, biased probability p
and the covariate profile of the new patient.
References
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.
Pocock S J, Simon R. Sequential treatment assignment with balancing for prognostic factors in the controlled clinical trial[J]. Biometrics, 1975: 103-115.
See Also
See PocSimMIN
for allocating a given completely collected data; See PocSimMIN.sim
for allocating patients with covariate data generating mechanism.