Returns gaze data in a given timewindows

get_gaze_timewindow(obj, start, end, ...)

# S3 method for surface.item
get_gaze_timewindow(obj, start, end, since_start = F, ...)

Arguments

obj

pupilr or surface object

start

start time in seconds (numeric)

end

end time in seconds (numeric)

...
since_start

defaults to false

Value

gaze data.frame between given times

Methods (by class)

  • surface.item: implementation for the surface.item

Examples

gaze <- get_gaze_timewindow(surface_object, 1000, 1200, on_surface = F)
#> Error in get_gaze_timewindow(surface_object, 1000, 1200, on_surface = F): object 'surface_object' not found