Assign stimuli to lists and a randomised, reproducible trial order
Source:R/counterbalancing.R
counterbalance.RdDispatches on the design's paradigm: the factorial recipe for matched word lists, or a Latin square over conditions for paired/sentence paradigms.
Arguments
- stimuli
A stimuli data frame (matched set or loaded item table).
- design
A parsed design configuration.
- schema
The parsed global schema (provides the seed).
- list_of_set
Optional named integer vector mapping each
setto a list, frombalance_lists(). Supplied by the pipeline whencounterbalance.optimiseis on; whenNULLthe factorial recipe deals sets to lists by rank as before.