compute_velocity_ek | R Documentation |
Compute velocity via Engbert & Kliegl (2003) algorithm. See formula #1 in the manuscript.
compute_velocity_ek(x, trial, time_window_in_samples, delta_t)
x |
Vector of coordinates |
trial |
Vector with trial labels, so that velocity is computed only within trials. |
time_window_in_samples |
Width of window for velocity computation in samples. |
delta_t |
Duration of a single frame (1 / sampling rate). |
Velocity vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.