Accidental two columns

PennController for IBEX Forums Support Accidental two columns

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10436
    samvanni
    Participant

    Hi Jeremy,

    in my self paced reading experiment https://farm.pcibex.net/r/SqQAQi/ I accidentally logged SujectID twice in one of the three subtrials (Line 403), which causes my results data to load incorrectly. How would you advice to correct this mistake? Try to edit the results file before loading into R? Or edit the pcibex.load function? Or something else completely?
    Thank you in advance,
    Ivan

    #10441
    Jeremy
    Keymaster

    Hi Ivan,

    Whatever solution you choose, always make sure you back up the original copy of the results file. I don’t think there’s a clear preferred solution here, but if it were me, I would probably directly edit a copy of the file and look for the regular expression pattern (,fillers,.+)(,[A-Z]\d+){2} and then replace all occurrences with first match + second match ($1$2 in Visual Studio Code)

    Jeremy

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