conceptual Q: mt_align_start_end()
I would like to use mousetrap to analyze how people navigate between landmarks on the screen using the keyboard/mouse -- this means that the start and end points are not the same, so if I understand correctly, I would need to spatially normalize each trajectory so that they start and end at the same coordinates?
I have two questions:
- Should you do spatial normalization before or after you do "temporal"/sampling point normalization?
- I have tried both before and after, but mt_align_start_end() gives me the error: " stats::approx(trajectories[i, , timestamps], trajectories[i, : need at least two non-NA values to interpolate". I have checked that the number of logged positions for all trials > 2
This leads me to believe that perhaps I am missing something conceptually about what the function does and how I should approach preprocessing my type of data?
Any help and advice much appreciated!