mark_trackloss {VWPre} | R Documentation |
mark_trackloss
marks data points related to trackloss for those in
blink, off-screen, or both.
mark_trackloss(data, Type = NULL, ScreenSize = NULL)
data |
A data table object output by |
Type |
A string indicating "Blink", "OffScreen", or "Both". |
ScreenSize |
A numeric vector specifying (in pixels) the dimensions of the x and y of the screen used during the experiment. |
An object of type data table as described in tibble.
## Not run:
library(VWPre)
# Mark trackloss...
df <- mark_trackloss(data = dat, Type = "Both", ScreenSize = c(1920, 1080))
## End(Not run)