| recode_off_screen | R Documentation |
recode_off_screen checks samples falling outside the bounds of
the screen and marks them with NA
recode_off_screen(data = data, ScreenSize = NULL, PlotData = FALSE)
data |
A data frame object created from an Eyelink Sample Report. |
ScreenSize |
A numeric vector specifying (in pixels) the dimensions of the x and y of the screen used during the experiment. |
PlotData |
A logical indicating whether or not to output a visualization of the result. |
An object of type data table as described in tibble.
# Load example data
data("Pupilex3")
dat <- recode_off_screen(data = Pupilex3, ScreenSize = c(1920, 1080),
PlotData = FALSE)
# Please see the vignettes for detailed example usage.
# vignette("PupilPre_Basic_Preprocessing", package="PupilPre")