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
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)