04-28-2023, 07:38 AM
Hi that's a great question! I think the excel trick is pretty nice, although a bit labor-intensive. In R, you can probably do something like a loop where you look for unique trial number + response names, and within each unique pair, use seq(1, length(pair)) to generate the word position numbering.
Just a thought! Let us know how it goes!
Just a thought! Let us know how it goes!