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

bsdRand

Sampling algorithm for BSD


Description

Sampling algorithm for BSD

Usage

bsdRand(N, mti, K = 2)

Arguments

N

integer for the total sample size of the trial.

mti

maximum tolerated imbalance in patient numbers during the trial.

K

number of treatment groups (e.g. K=2 if we compare one experimental against one control treatment).

Value

A vector with the allocation sequence for a clinical trial. It will contain a zero (resp. 1) at position i, when patient i is allocated to treatment A (resp. B).

References

J. F. Soares and C. F. Jeff Wu (1983) Some Restricted Randomization Rules in Sequential Designs. Comm. in Stat., 12, 2017-34.


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.