createParam {randomizeR} | R Documentation |
Representing any randomization procedure
Description
Represents any randomization procedure for a two-armed clinical trial.
Usage
createParam(method, N, mti, bc, rb, p, ini, add, filledBlock)
Arguments
method |
method that is used to generate the (random) allocation
sequence. It can take values |
N |
integer for the total sample size of the trial. |
mti |
maximum tolerated imbalance in patient numbers during the trial. |
bc |
vector which contains the lengths |
rb |
block lengths of the blocks that can be selected equiprobable at random. |
p |
success probability of the biased coin (e.g. in Efron's Biased Coin Design). |
ini |
integer representing the initial urn composition. |
add |
integer representing the number of balls that are added to the urn in each step. |
filledBlock |
|
Details
Depending on the input of the user, createParam
creates an object
representing a randomization procedures for a two-armed clinical trial
(see also randPar
).
Value
S4object of the corresponding randomization procedure class.
See Also
Other randomization procedures:
abcdPar
,
bbcdPar
,
bsdPar
,
chenPar
,
crPar
,
ebcPar
,
gbcdPar
,
hadaPar
,
mpPar
,
pbrPar
,
rarPar
,
rpbrPar
,
rtbdPar
,
tbdPar
,
udPar