gazeClusters: Application of the the DBSCAN clustering algorithm for eye...

Description Usage Arguments Value

View source: R/gazer.R

Description

Application of the the DBSCAN clustering algorithm for eye tracking data.

Usage

1
gazeClusters(dat, eps, minPts = 5, recRate = NULL)

Arguments

dat

A data frame or a matrix with three columns named: X, Y, time.

eps

Size (radius) of the epsilon neighborhood.

minPts

Number of minimum points required in the eps neighborhood for core points (including the point itself). The default value is 5 points.

recRate

Time in ms between each eye-tracking recording. For instance 1 means 1 ms between two observations or a recording frequency of 1000 Hz.

Value

Provides a numeric vector indicating wheather an eye-tracking recording belongs to an eye-movement or to a fixation. zero 0 means that the recording belongs to an eye-movement. Any other positive number indicates a fixation ID. In addition, this function also returns a vector of the fixations IDs and their durations.


andy0682/gazeR documentation built on Dec. 19, 2021, 3:35 a.m.