Reply To: Choosing subet of items to present

PennController for IBEX Forums Support Choosing subet of items to present Reply To: Choosing subet of items to present

#6802
apspj
Participant

Ok, so within a dashed sentence experiment I would have something like this?:

Template("myTable.csv", 
    variable => newTrial("experiment",
    newController("DashedSentence", {s: 
conditions = [
    pick(randomize(startsWith("A-")), 2),
    pick(randomize(startsWith("B-")), 2),
    // etc.
]
.sort( ()=>Math.random()-0.5 ) // shuffle
})