Represents the randomization procedure Complete Randomization.
crPar(N, K = 2, ratio = rep(1, K), groups = LETTERS[1:K])
S4
object of the class crPar
.
integer for the total sample size of the trial.
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.
Toss a fair coin N
times in case K=2
and assign the treatments according to the result of the coin. In case of K>2
, replace the coin by a die with K
sides.
W. F. Rosenberger and J. M. Lachin (2002) Randomization in Clinical Trials. Wiley.
Other randomization procedures:
abcdPar
,
bbcdPar
,
bsdPar
,
chenPar
,
createParam()
,
ebcPar
,
gbcdPar
,
hadaPar
,
mpPar
,
pbrPar
,
rarPar
,
rpbrPar
,
rtbdPar
,
tbdPar
,
udPar