Represents the randomization procedure Randomized Truncated Binomial Design.
integer for the total sample size of the trial.
block lengths of the blocks that can be selected equiprobable at random.
character vector of labels for the different treatments.
Fix the possible random block lengths
rb and the sample size of the trial
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
N patients are assigned.
S4 object of the class
W. F. Rosenberger and J. M. Lachin (2002) Randomization in Clinical Trials. Wiley.
Other randomization procedures: