Create a randomisation list for cross-over studies.


Main function RL4() randomizes subjects, patients in groups of (treatment) sequences.
If a blocksize is given, the randomization will be done within blocks.
If more then one blocksizes are given, the size of blocks will be chosen randomly from the blocksizes.
The randomization may be controlled by a Wald-Wolfowitz runs test. Functions to obtain the p-value of that test are included.

Contains further two helper functions sequences() and williams() to get the sequences of commonly used designs in BE studies.


Package: randomizeBE
Type: Package
Version: 0.3-1
Date: 2012-09-21
License: GPL (>=2)


D. Labes
with part of the code for using the runs test for randomness
according to a suggestion by Helmut Schuetz.

Maintainer: D.Labes <>

Questions? Problems? Suggestions? or email at

All documentation is copyright its authors; we didn't write any of that.