Learn R Programming

VWPre (version 1.2.4)

mark_trackloss: 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 select_recorded_eye.

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

Run this code
# NOT RUN {
library(VWPre)
# Mark trackloss...
df <- mark_trackloss(data = dat, Type = "Both", ScreenSize = c(1920, 1080))
# }

Run the code above in your browser using DataLab