Adjust trajectories so that all trajectories have an identical start and end
point. If no end points are provided, trajectories are only adjusted so that
they have the same start position.
a mousetrap data object created using one of the mt_import
functions (see mt_example for details).
use
a character string specifying which trajectory data should be
used.
save_as
a character string specifying where the resulting trajectory
data should be stored.
xpos_start
an integer specifying the value the first x-position should
have in each trial.
xpos_end
an (optional) integer specifying the value the last
x-position should have in each trial. If unspecified (the default),
trajectories are only adjusted so that they have the same start position.
ypos_start
an integer specifying the value the first y-position should
have in each trial.
ypos_end
an (optional) integer specifying the value the last
y-position should have in each trial. If unspecified (the default),
trajectories are only adjusted so that they have the same start position.
show_progress
logical indicating whether function should report its
progress.
Value
A mousetrap data object (see mt_example) with an additional
array (by default called sn_trajectories) containing the
space-normalized trajectories.
References
Dale, R., Kehoe, C., & Spivey, M. J. (2007). Graded motor
responses in the time course of categorizing atypical exemplars.
Memory & Cognition, 35(1), 15-28.