Group: Forum Members
Posts: 11,
Visits: 148
|
Hello,
I’m currently trying to create a pseudo-random order of the trials I present in a block (pasted below). Specifically, I would like the trials to be presented where there are no more than 5 consecutive “AX_Short_No” trials or two consecutive trials of another type (“AY_Short_No”, “BX_Short_No”, “BY_Short_No”).
<block shortnoreward_final> / preinstructions = (intro2) / trials = [1-100 = noreplace(AX_Short_No,AX_Short_No,AX_Short_No,AX_Short_No,BX_Short_No,AY_Short_No,BY_Short_No,BY_Short_No,BY_Short_No,BY_Short_No)] / onblockend = [list.corrRT_baseline_short.sort(false,false); values.index = 3; values.cutoff_RT = list.corrRT_baseline_short.item(values.index); ] </block>
Any help regarding this would be much appreciated! Thank you!
|