Representing any randomization procedure

Share:

Description

Represents any randomization procedure for a two-armed clinical trial.

Usage

1
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 PBR, RAR, HAD, PWR, EBC, BSD, CR, TBD, UD, and MP.

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 k_1,...,k_l of each block. This means that the vector bc will have one entry for each block.

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

logical whether the last block should be filled or not.

Details

Dending 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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.