Department of Psychological & Brain Sciences, The University of Iowa, Iowa City, IA, 52242, USA.
Department of Speech-Language-Hearing Sciences, University of Minnesota, 164 Pillsbury Dr. SE, Minneapolis, MN, 55455, USA.
Behav Res Methods. 2020 Oct;52(5):2232-2255. doi: 10.3758/s13428-020-01374-8.
Eye-tracking is widely used throughout the scientific community, from vision science and psycholinguistics to marketing and human-computer interaction. Surprisingly, there is little consistency and transparency in preprocessing steps, making replicability and reproducibility difficult. To increase replicability, reproducibility, and transparency, a package in R (a free and widely used statistical programming environment) called gazeR was created to read and preprocess two types of data: gaze position and pupil size. For gaze position data, gazeR has functions for reading in raw eye-tracking data, formatting it for analysis, converting from gaze coordinates to areas of interest, and binning and aggregating data. For data from pupillometry studies, the gazeR package has functions for reading in and merging multiple raw pupil data files, removing observations with too much missing data, eliminating artifacts, blink identification and interpolation, subtractive baseline correction, and binning and aggregating data. The package is open-source and freely available for download and installation: https://github.com/dmirman/gazer . We provide step-by-step analyses of data from two tasks exemplifying the package's capabilities.
眼动追踪在科学界得到了广泛应用,从视觉科学和心理语言学到市场营销和人机交互。令人惊讶的是,预处理步骤几乎没有一致性和透明度,这使得可重复性和可再现性变得困难。为了提高可重复性、可再现性和透明度,R 语言(一种免费且广泛使用的统计编程环境)中创建了一个名为 gazeR 的包,用于读取和预处理两种类型的数据:注视位置和瞳孔大小。对于注视位置数据,gazeR 具有读取原始眼动追踪数据、将其格式化为分析、将注视坐标转换为感兴趣区域、以及对数据进行分组和聚合的功能。对于瞳孔测量研究的数据,gazeR 包具有读取和合并多个原始瞳孔数据文件、删除含有过多缺失数据的观察值、消除伪影、眨眼识别和插值、减法基线校正以及对数据进行分组和聚合的功能。该软件包是开源的,可免费下载和安装:https://github.com/dmirman/gazer。我们提供了两个任务的数据的分步分析,这些任务体现了该软件包的功能。