Represents any randomization procedure for a two-armed clinical trial.
createParam(method, N, mti, bc, rb, p, ini, add, filledBlock)
method that is used to generate the (random) allocation
sequence. It can take values PBR
, RAR
, HAD
, PWR
,
EBC
, BSD
, CR
, TBD
, UD
, and MP
.
integer for the total sample size of the trial.
maximum tolerated imbalance in patient numbers during the trial.
vector which contains the lengths k_1,...,k_l
of each block.
This means that the vector bc
will have one entry for each block.
block lengths of the blocks that can be selected equiprobable at random.
success probability of the biased coin (e.g. in Efron's Biased Coin Design).
integer representing the initial urn composition.
integer representing the number of balls that are added to the urn in each step.
logical
whether the last block should be filled or not.
S4object of the corresponding randomization procedure class.
Dending on the input of the user, createParam
creates an object
representing a randomization procedures for a two-armed clinical trial
(see also randPar
).
Other randomization procedures: abcdPar
,
bbcdPar
, bsdPar
,
chenPar
, crPar
,
ebcPar
, gbcdPar
,
hadaPar
, mpPar
,
pbrPar
, rarPar
,
rpbrPar
, rtbdPar
,
tbdPar
, udPar