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

hadaPar

Representing Hadamard Randomization


Description

Represents the randomization procedure Hadamard Randomization.

Usage

hadaPar(N, groups = LETTERS[1:2])

Arguments

N

integer for the total sample size of the trial.

groups

character vector of labels for the different treatments.

Details

Hadamard randomization has been proposed by R.A. Bailey. The key idea is to use the columns of a special Hadamard Matrix as a randomization scheme. The implemented algorithm uses the Hadamard Matrix with N=12 columns proposed in the paper, see references.

Value

S4 object of the class hadaPar.

Note

getProb and getAllSeq are currently only supported for hadaPar with total sample size N=12.

References

R.A. Bailey and P.R. Nelson (2003) Hadamard Randomization: A valid restriction of random permuted blocks. Biometrical Journal, 45, 554-60.

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.