mark_trackloss: Mark trackloss by blink and/or screen size

Description Usage Arguments Value Examples

View source: R/trackloss.R

Description

mark_trackloss marks data points related to trackloss for those in blink, off-screen, or both.

Usage

1
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

1
2
3
4
5
6
## Not run: 
library(VWPre)
# Mark trackloss...
df <- mark_trackloss(data = dat, Type = "Both", ScreenSize = c(1920, 1080))

## End(Not run)

VWPre documentation built on Jan. 11, 2020, 9:28 a.m.