merge_adjacent_fixations: Merge adjacent fixations

merge_adjacent_fixationsR Documentation

Merge adjacent fixations

Description

Merge fixations which appear close in space and time. This function is called by other functions and typically not used outside them

Usage

merge_adjacent_fixations(
  fixations,
  gaze_raw,
  distance.threshold = 0.5,
  ms.threshold = 75,
  one_degree = 40
)

Arguments

fixations

Data frame with fixations

gaze_raw

Data matrix with raw data. See description of the ivt_filter function

distance.threshold

Subsequent fixations occurring withing this distance are merged. Set to 0 if you don't want to merge fixations.

ms.threshold

Maximum time elapsed between fixations to be merged.

one_degree

One degree of the visual field in the scale of the x and y coordinates. Typically pixels

Value

A new data frame with fixations


kollaR documentation built on April 13, 2025, 5:11 p.m.