rtbdPar: Representing Randomized Truncated Binomial Design

Description Usage Arguments Details Value References See Also

View source: R/rtbdPar.R

Description

Represents the randomization procedure Randomized Truncated Binomial Design.

Usage

1
rtbdPar(N, rb = N, groups = LETTERS[1:2], filledBlock = FALSE)

Arguments

N

integer for the total sample size of the trial.

rb

block lengths of the blocks that can be selected equiprobable at random.

groups

character vector of labels for the different treatments.

filledBlock

logical whether the last block should be filled or not.

Details

Fix the possible random block lengths rb and the sample size of the trial N. Afterwards, one block length is randomly selected of the random block lengths. In this block a fair coin is tossed for the patient assignments until half of the patients have been assigend to one of the treatment arms. Afterwards, the block is filled with the other treatment. This procedure is repeated until N patients are assigned.

Value

S4 object of the class rtbdPar.

References

W. F. Rosenberger and J. M. Lachin (2002) Randomization in Clinical Trials. Wiley.

See Also

Other randomization procedures: abcdPar, bbcdPar, bsdPar, chenPar, crPar, createParam, ebcPar, gbcdPar, hadaPar, mpPar, pbrPar, rarPar, rpbrPar, tbdPar, udPar


randomizeR documentation built on May 19, 2017, 11:30 p.m.

Search within the randomizeR package
Search all R packages, documentation and source code