hasAllGroups function

Check function for occurrence of all treatment groups in the sequence

Check function for occurrence of all treatment groups in the sequence

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

hasAllGroups(seq, K)

Arguments

  • seq: randomization sequence as inverted matrix
  • K: number of treatment arms

Returns

TRUE if all groups represented, FAlSE otherwise

  • Maintainer: Ralf-Dieter Hilgers
  • License: GPL (>= 3)
  • Last published: 2023-09-18

Useful links