Learn R Programming

carat (version 1.1)

AdjBCD.ui: Command-line User Interface Using Covariate-adjusted Biased Coin Design

Description

A call to the user-interface function for allocation of patients to one of two treatments, using covariate-adjusted biased coin design, as proposed by Baldi Antognini A, Zagoraiou M (2011) <Doi:10.1093/biomet/asr021>.

Usage

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

Arguments

path

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

folder

name of the folder. If it is the default, a folder named "AdjBCD" 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 AdjBCD.ui.

Details

See AdjBCD.

See Also

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