shuffleBlock Permute block preserving group sizes, randomization blocks
shuffleBlock(block, strata = 0)
block
: vector of row indices to be permutedstrata
: factor defining strata with blockrandom permutation of each stratum within block
Useful links