R/extract_movement_functions.R
extract_fixation.Rd
Extract ratio of target fixation between a `min_time` and `max_time`. You can supply timestamps to `min_time` and `max_time` (e.g timestamp of begin escape) to average over only a period, or use the entire duration of the provided data frame.
Eye tracker data frame. Expected columns are `time` and `focus_object_raw`.
Unity's internal target name (e.g. as returned by `find_unity_threat_name`)
minimum time in s (default trial start)
maximum time in s (default trial end)
Ratio of target fixations (0-1), between `min_time` and `max_time`.