Learn R Programming

carat (version 1.1)

StrPBR.ui: Command-line User Interface Using Stratified Permuted Block Randomization with Two-Arms Case

Description

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

Usage

# S3 method for carseq
StrPBR.ui(path, folder = "StrPBR")

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 "StrPBR" 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 StrPBR.ui.

Details

See StrPBR.

See Also

See StrPBR for allocating patients with complete covariate data; See StrPBR.sim for allocating patients with covariate data generating mechanism.