Learn R Programming

carat (version 1.1)

PocSimMIN.ui: 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

# S3 method for carseq
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 "PocSimMIN" will be created.

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.

Details

See PocSimMIN.

See Also

See PocSimMIN for allocating a given completely collected data; See PocSimMIN.sim for allocating patients with covariate data generating mechanism.