PennController for IBEX › Forums › Support › Randomize across and within blocks › Reply To: Randomize across and within blocks
April 13, 2022 at 2:31 pm
#8040
![](https://www.pcibex.net/wp-content/uploads/2018/10/IMG_8365-e1540835663655-150x150.jpg)
Keymaster
Hi,
Use randomize("label")
to get a randomized series of trials labeled “label” where you would just use "label"
to get a non-randomize series:
PennController.ResetPrefix(null) var blocks = [randomize("block1"),randomize("block2"),randomize("block3"),randomize("block4")]; fisherYates(blocks); Sequence("training", ...blocks)
Jeremy