Restricted randomization (source code)

= Restricted randomization

<Restricted randomization> samples assignments from a specified subset preserving features such as block balance, fixed group sizes or allowable treatment sequences. Inference must respect the chosen allocation scheme rather than treating all label permutations as admissible.