Hi,
I am working with eye tracking data. I have a variable that represents trials, that is made of a repeated sequence. It looks like this: [1,1,1,1,…,2,2,2,2,…,3,3,3,3,3,…,4,4,4,…] etc. I put dots here to show that there are a lot of these numbers. The sequence repeates itself each time a new bloc started in the experiment, and I would like to be able to know which bloc a trial belongs to.
How could I, for example, add 1000 to the first repetition of the sequence, then 2000 to the second one, so that I would know, if I see [3034] that I have the 34th trial from the 3rd bloc ?
Thank you for your help!
Best Answer