Learn R Programming

eyelinker

An R package for importing plain-text ASC data files from EyeLink eye trackers into (relatively) well-structured data frames. EDF files first must be converted to ASC using the edf2asc tool before they can be imported.

Great efforts have been made to make this package fast, stable, and highly compatible. If you encounter any problems using eyelinker (or would like to make a feature request), please open an issue on the project's GitHub page.

NOTE: As of version 0.2.0, eyelinker has been rewritten almost entirely for greater stability and speed. Please refer to the NEWS file for a comprehensive list of changes and improvements.

Installation

# Install the latest release from CRAN:
install.packages("eyelinker")

# Install the latest development version from GitHub:
require(devtools)
devtools::install_github("a-hurst/eyelinker")

Usage

library(eyelinker)

# Example file from SR research that ships with the package
fpath <- system.file("extdata/mono500.asc.gz", package = "eyelinker")
dat <- read.asc(fpath)
plot(dat$raw$time, dat$raw$xp, xlab = "Time (ms)", ylab = "Eye position along x-axis (px)")

# For more info:
vignette("basics", package = "eyelinker")

Credits

  • Author: Simon Barthelmé, CNRS, Gipsa-lab
  • Maintainer: Austin Hurst, University of Waterloo

Copy Link

Version

Install

install.packages('eyelinker')

Monthly Downloads

304

Version

0.2.1

License

GPL-3 | file LICENCE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

June 3rd, 2021

Functions in eyelinker (0.2.1)

read.asc

Read EyeLink ASC Files
eyelinker

Import ASC Files from EyeLink Eye Trackers
%In%

Find if value belongs to a set of intervals
whichInterval

From a set of intervals, find which interval values belong to