shuffleBlock {permGS}R Documentation

shuffleBlock Permute block preserving group sizes, randomization blocks

Description

shuffleBlock Permute block preserving group sizes, randomization blocks

Usage

shuffleBlock(block, strata = 0)

Arguments

block

vector of row indices to be permuted

strata

factor defining strata with block

Value

random permutation of each stratum within block


[Package permGS version 0.2.5 Index]