PennController for IBEX › Forums › Support › Randomize blocks and trials but keep breaks in the same order › Reply To: Randomize blocks and trials but keep breaks in the same order
May 19, 2023 at 11:03 am
#10601
Jeremy
Keymaster
Hi Yev,
If your first block consists of all the trials labeled “trials_study” and those named “trials_test” and you want them randomly (unevenly) shuffled, you could replace randomize("block_1")
from the code above with randomize(anyOf("trials_study","trials_test"))
. If you’d rather have them evenly shuffled, use rshuffle("trials_study","trials_test")
Jeremy