shuffleBlock function

shuffleBlock Permute block preserving group sizes, randomization blocks

shuffleBlock Permute block preserving group sizes, randomization blocks

shuffleBlock(block, strata = 0)

Arguments

  • block: vector of row indices to be permuted
  • strata: factor defining strata with block

Returns

random permutation of each stratum within block

  • Maintainer: Matthias Brueckner
  • License: GPL-3 | file LICENSE
  • Last published: 2017-08-07

Useful links