randomizeR (version 3.0.2)

hasAllGroups: Check function for occurrence of all treatment groups in the sequence

Description

checks whether each group has its value coming up at least once in the sequence

Usage

hasAllGroups(seq, K)

Value

TRUE if all groups represented, FAlSE otherwise

Arguments

seq

randomization sequence as inverted matrix

K

number of treatment arms