library(eyer)
## Loading required package: ggplot2
## Registered S3 methods overwritten by 'ggplot2':
##   method         from 
##   [.quosures     rlang
##   c.quosures     rlang
##   print.quosures rlang

Downsampling

obj_down <- downsample(obj, n = 100)
plot_gaze(obj, color="red")

plot_gaze(obj_down)

Flipping axes

obj_flipped <- flip_axis(obj, "y", 1080)
plot_gaze(obj, downsample = 50, color="red") + geom_eyer_monitor(obj)

plot_gaze(obj_flipped, downsample = 50) + geom_eyer_monitor(obj)

Recalibrating parts of recording

Let’s say the eyetracking needs to be shifted a bit from time 0 till 10 seconds is a bit shifted as the participant moved their head. We can use the recalibration functionality to shift gaze and fixations data.