gazetools-class: Gazetools Reference Class

Description Fields Methods Examples

Description

The Gazetools reference class is the main entry point for gaze classification and analysis.

Fields

data

an object of class "data.table" that holds gaze-related timeseries information.

samplerate

the rate at which the gaze data were sampled.

rx

the horizontal resolution of the screen (pixels)

ry

the vertical resolution of the screen (pixels)

sw

the physical screen width (mm)

sh

the physical screen height (mm)

Methods

initialize(..., import = NULL)

Initialize object with raw gaze data. Takes same arguments as pva.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(smi)
g <- with(smi, gazetools(smi_sxl,smi_syl, 500,
                         1680, 1050, 473.76, 296.1,
                         smi_ezl, smi_exl, smi_eyl,
                         blinks=(smi_dyl==0|smi_dyr==0),
                         timestamp=smi_time))
g

g <- with(highspeed, gazetools(x,y,1250,1024,768,.38,.30,.67,
                               blinks=(x==0|y==0)))
g

RyanHope/gazetools documentation built on May 9, 2019, 10:38 a.m.