Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

createParam

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 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

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


randomizeR

Randomization for Clinical Trials

v2.0.0
GPL (>= 3)
Authors
David Schindler [aut], Diane Uschner [aut, cre], Marcia Viviane Rueckbeil [ctb], Martin Manolov [ctb], Thi Mui Pham [ctb], Michael Martini [ctb], Ralf-Dieter Hilgers [aut, ths], Nicole Heussen [aut, ths]
Initial release
2019-11-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.