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

pbrPar

Representing Permuted Block Randomization


Description

Represents the randomization procedure Permuted Block Randomization.

Usage

pbrPar(bc, K = 2, ratio = rep(1, K), groups = LETTERS[1:K])

Arguments

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.

K

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

ratio

vector of length K. The total sample number N and all used block lengths (bc) have to be divisible by sum(ratio).

groups

character vector of labels for the different treatments.

Details

Fix the block constellation bc, the number of treatment groups K, and the vector of the ratio. Afterwards, in each block the patients are assigned according to the ratio to the corresponding treatment groups. All generated randomization sequences are equiprobable.

Value

S4 object of the class pbrPar.

References

W. F. Rosenberger and J. M. Lachin (2002) Randomization in Clinical Trials. Wiley.

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.