Representing Randomized Permuted Block Randomization
Represents the randomization procedure Randomized Permuted Block Randomization.
rpbrPar( N, rb, K = 2, ratio = rep(1, K), groups = LETTERS[1:K], filledBlock = FALSE )
N |
integer for the total sample size of the trial. |
rb |
block lengths of the blocks that can be selected equiprobable at random. |
K |
number of treatment groups (e.g. K=2 if we compare one experimental against one control treatment). |
ratio |
vector of length |
groups |
character vector of labels for the different treatments. |
filledBlock |
|
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.
S4
object of the class rpbrPar
.
W. F. Rosenberger and J. M. Lachin (2002) Randomization in Clinical Trials. Wiley.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.