Group: Administrators
Posts: 13K,
Visits: 104K
|
Suppose you have two "same category" <trial> elements , and two "different category" <trial> elements.
Set up a <values> entry:
<values> / category = "" ... </values>
and set that value to the appropriate label in your trials:
<trial same_a> / ontrialbegin = [values.category = "same category"] ... </trial>
<trial same_b> / ontrialbegin = [values.category = "same category"] ... </trial>
<trial different_a> / ontrialbegin = [values.category = "different category"] ... </trial>
<trial different_b> / ontrialbegin = [values.category = "different category"] ... </trial>
Specify the <data> element in the script to log the respective value:
<data> / columns = [date time subject group blocknum blockcode trialnum trialcode response latency correct ... values.category] ... </data>
You can then sort by values.category as needed.
|