Computes the index of the peak acceleration of a trajectory, defined by vectors of x and y coordinates, and assumed to be equidistant in time.
Arguments
- x_vector
x-coordinates of the executed path.
- y_vector
y-coordinates of the executed path.
- absolute
Should negative accelerations (i.e., deceleration) be included? Defaults to
FALSE
.
References
Wirth, R., Foerster, A., Kunde, W., & Pfister, R. (2020). Design choices: Empirical recommendations for designing two-dimensional finger tracking experiments. Behavior Research Methods, 52, 2394 - 2416. doi:10.3758/s13428-020-01409-0