Replies: 1 comment 1 reply
-
Hi @andreaar5 , In the simplest case, which I'm not sure covers what you are describing, you can always just randomize the order in which you add trials to a timeline. For example: var timeline = [];
var trial_1 = { ... }
var trial_2 = { ... }
var random_order = jsPsych.randomization.shuffle([trial_1, trial_2]);
timeline.push(random_order[0], random_order[1]); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Is it possible to randomize the order of two variables?
In my experiment, I show two video stimuli and after, a question.
One video is the same for each trial and the other changes every time.
In a timeline, can I randomize the order?
Thanks in advantage,
Andrea
Beta Was this translation helpful? Give feedback.
All reactions