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

udPar

Representing Wei's Urn Design


Description

Represents Wei's Urn Design.

Usage

udPar(N, ini, add, groups = LETTERS[1:2])

Arguments

N

integer for the total sample size of the trial.

ini

integer representing the initial urn composition.

add

integer representing the number of balls that are added to the urn in each step.

groups

character vector of labels for the different treatments.

Details

An urn is filled with a number of ini balls of both of the treatments. Afterwards, a ball is drawn randomly from the urn. Finally, add balls are added to the urn from the opposite treatment. This procedure is repeated until N patients are assigned.

Value

S4 object of the class udPar.

References

L.J. Wei (1977) A Class of Designs for Sequential Clinical Trials. Journal of the American Statistical Association, 72, 382-6.

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.