RL4() randomizes subjects, patients in groups of
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
to get the sequences of commonly used designs in BE studies.
with part of the code for using the runs test for randomness
according to a suggestion by Helmut Schuetz.
Maintainer: D.Labes <[email protected]>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.