createParam | R Documentation |
Represents any randomization procedure for a two-armed clinical trial.
createParam(method, N, mti, bc, rb, p, ini, add, filledBlock)
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 |
|
Depending on the input of the user, createParam
creates an object
representing a randomization procedures for a two-armed clinical trial
(see also randPar
).
S4object of the corresponding randomization procedure class.
Other randomization procedures:
abcdPar
,
bbcdPar
,
bsdPar
,
chenPar
,
crPar
,
ebcPar
,
gbcdPar
,
hadaPar
,
mpPar
,
pbrPar
,
rarPar
,
rpbrPar
,
rtbdPar
,
tbdPar
,
udPar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.