Represents the randomization procedure Randomized Permuted Block Randomization.
rpbrPar(
N,
rb,
K = 2,
ratio = rep(1, K),
groups = LETTERS[1:K],
filledBlock = FALSE
)S4 object of the class rpbrPar.
integer for the total sample size of the trial.
block lengths of the blocks that can be selected equiprobable at random.
number of treatment groups (e.g. K=2 if we compare one experimental against one control treatment).
vector of length K. The total sample number N and
all used block lengths (bc) have to be divisible by sum(ratio).
character vector of labels for the different treatments.
logical whether the last block should be filled or not.
Fix the possible random block lengths rb, the number of treatment groups K,
the sample size N and the vector of the ratio. Afterwards, one block length is
randomly selected of the random block lengths. The patients are assigned
according to the ratio to the corresponding treatment groups. This procedure is repeated
until N patients are assigned. Within each block all possible
randomization sequences are equiprobable.
W. F. Rosenberger and J. M. Lachin (2002) Randomization in Clinical Trials. Wiley.
Other randomization procedures:
abcdPar,
bbcdPar,
bsdPar,
chenPar,
crPar,
createParam(),
ebcPar,
gbcdPar,
hadaPar,
mpPar,
pbrPar,
rarPar,
rtbdPar,
tbdPar,
udPar