Learn R Programming

carat (version 1.1)

DoptBCD.ui: Command-line User Interface Using Atkinson's \(D_A\)-optimal Biased Coin Design

Description

A call to the user-interface function used to allocate patients to one of two treatments using Atkinson's \(D_A\)-optimal biased coin design proposed by Atkinson A C (1982) <Doi:10.2307/2335853>.

Usage

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

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 "DoptBCD" 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 that function.

Details

See DoptBCD.

See Also

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