AddAOIData: Transform gazedata coordinates into AOI data

Description Usage Arguments Details Value

Description

AddAOIData() adds two new columns to the gazedata in a Trial object: (1) GazeByAOI, the screen-location of the image where the gaze is fixated (e.g., ImageL or UpperLeftImage) and (2) GazeByImageAOI, the stimulus contained in the image where the gaze is fixated (e.g., TargetImage or PhonologicalFoil).

Usage

1

Arguments

x

a Trial with Task or Protocol attributes or a TrialList where each Trial has these attributes

Details

If the gaze is tracked but not fixated to a particular image on the screen, it gets the default value of tracked. If the gaze is missing during a particular frame, the value is NA.

"AOI" stands for Area of Interest.

Value

the Trial object(s) with the AOI data attached as new columns.


tjmahr/lookr documentation built on May 31, 2019, 3:41 p.m.