mark_trackloss {VWPre} | R Documentation |
Mark trackloss by blink and/or screen size
Description
mark_trackloss
marks data points related to trackloss for those in
blink, off-screen, or both.
Usage
mark_trackloss(data, Type = NULL, ScreenSize = NULL)
Arguments
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. |
Value
An object of type data table as described in tibble.
Examples
## Not run:
library(VWPre)
# Mark trackloss...
df <- mark_trackloss(data = dat, Type = "Both", ScreenSize = c(1920, 1080))
## End(Not run)
[Package VWPre version 1.2.4 Index]