Reply To: Shuffling blocks while maintaining order in the block

PennController for IBEX Forums Support Shuffling blocks while maintaining order in the block Reply To: Shuffling blocks while maintaining order in the block

#7512
Jeremy
Keymaster

Hi,

I’ll be assuming that your trials are labeled "block1", "block2", "block3" and "block4". Then you can do this:

PennController.ResetPrefix(null)

var blocks = ["block1","block2","block3","block4"];
fisherYates(blocks);

Sequence("training", ...blocks)

Jeremy