You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to figure out how to write a sampling function for my experiment, but haven't found a clean way to do it so far. My code looks like this:
And there are 40 trials of this same type. As you can see, every trial samples one out of two available timeline variables (two stimuli in the pair), because I need only one of each pair to be sampled (only one of two contexts for each pair should appear). Is there a function I could write to make this process more automatic (rather than copying and pasting all the trial information for each pair)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I've been trying to figure out how to write a sampling function for my experiment, but haven't found a clean way to do it so far. My code looks like this:
And there are 40 trials of this same type. As you can see, every trial samples one out of two available timeline variables (two stimuli in the pair), because I need only one of each pair to be sampled (only one of two contexts for each pair should appear). Is there a function I could write to make this process more automatic (rather than copying and pasting all the trial information for each pair)?
Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions