PennController for IBEX › Forums › Support › Choosing subet of items to present › Reply To: Choosing subet of items to present
April 1, 2021 at 2:58 pm
#6802
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
})