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.