Adjust time values around 0
adjust_times_around_zero.Rd
Adjust time values around 0
Arguments
- data
a dataframe of eyetracking data for a single trial or a grouped dataframe where the groups define a single trial.
- time_col
name (string) of the column with time value. Defaults to
"Time"
.- fps
the eyetracking sampling rate. Defaults to 60 frames per second.
- ties
how to break ties when the smallest times are equally close to zero. Default is
"first"
so that the tiec(-1, 1)
is aligned toc(0, 2)
.