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
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