Shuffling particular trials within a trial sequence

PennController for IBEX Forums Support Shuffling particular trials within a trial sequence

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7222
    AlexY
    Participant

    Hi Jeremy,

    Assuming that I have the following sequence in my experiment:

    sequence("consent", "instructions", randomize("exp-trials"), randomize("catch-trials), "end")

    Both the exp-trials and catch-trials are templates calling from two different csv files, which have different lengths. Is there a way to combine these two trials within the sequence command so that items from these two trials will be randomly presented until both lists are exhausted?

    Thanks!
    Alex

    #7223
    Jeremy
    Keymaster

    Hi Alex,

    Are you looking for rshuffle("exp-trials","catch-trials")? Or randomize(endsWith("-trials"))? See the Ibex documentation

    Jeremy

    #7224
    AlexY
    Participant

    Oh I did try rshuffle and I must have made some mistakes. It’s working now. Thank you so much, Jeremy!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.