mt_remap_symmetric() Error in if ((remap_ypos == "up" & trajectories[i, nlogs, ypos] < 0) | :
I've been using mousetrap for a project I'm working on at my job and have usually been able to figure out any issues I have, but I keep coming across an error for one subject in the data. Whenever I try to remap the data I get this error:
Error in if ((remap_ypos == "up" & trajectories[i, nlogs, ypos] < 0) | :
missing value where TRUE/FALSE needed
I'm not quite sure how to fix this and the only thing I can say about the data is that the subject that completed the task had some trouble (i.e. click on the wrong picture, go to the wrong picture and hover over it then go to the right picture, or even not move the mouse for a few seconds aka dozing off)
Any input would help because this is the only error I come across when I run the mousetrap preprocessing steps (mt_align_start, mt_time_normalize, mt_subset). Thanks!