PocSimMIN.ui: Command-line User Interface Using Pocock and Simon's...

Description Usage Arguments Details Value Note References See Also

View source: R/rand_CLI.R


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>.


PocSimMIN.ui(path, folder = "PocSimMIN")



the path in which a folder used to storage variables will be created.


name of the folder. If default, a folder named "PocSimMIN" will be created.


See PocSimMIN.


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.


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.


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.

carat documentation built on Oct. 16, 2021, 5:09 p.m.