Skip to content

Merge Fixations from I AOI Classifier

Sebastian Kapp edited this page Feb 25, 2021 · 1 revision

merge_fixations_iaoi R Documentation


Merge Fixations from I-AOI Classifier

Description

Merge fixations classified by classify_iaoi into a new, combined fixation when they are on the same AOI and closer to each other than the max time specified.

Usage

merge_fixations_iaoi(data, max_time = 75)

Arguments


data Data frame of the eye tracking data we want to process max_time Max time between fixations in ms


Format

Input data frame columns

gazePoint_x

: X coordinates of the gaze point

gazePoint_y

: Y coordinates of the gaze point

gazePoint_z

: Z coordinates of the gaze point

eventIndex

: Index of the event in which the gaze point lies

eventType

: Type of the current event

eventDuration

: Duration of the current event

fixation_x

: X coordinate of the current fixation

fixation_y

: Y coordinate of the current fixation

fixation_z

: Z coordinate of the current fixation

Details

This is a custom implementation for merging fixations on the same AOI with a gap smaller than the specified time between them.

Value

The input data frame with the fixations merged