Function to do randomize the run order of factorial designs.
Arguments
- fdo
An object of class
facDesign.c.- random.seed
Seed for randomness.
- so
Logical value specifying whether the standard order should be used or not. By default
sois set toFALSE.
Value
An object of class facDesign.c with the run order randomized.
Examples
dfrac <- fracDesign(k = 3)
randomize(dfrac)
#> StandOrder RunOrder Block A B C y
#> 3 3 1 1 -1 1 -1 NA
#> 6 6 2 1 1 -1 1 NA
#> 4 4 3 1 1 1 -1 NA
#> 8 8 4 1 1 1 1 NA
#> 1 1 5 1 -1 -1 -1 NA
#> 2 2 6 1 1 -1 -1 NA
#> 7 7 7 1 -1 1 1 NA
#> 5 5 8 1 -1 -1 1 NA