Skip to content

hejtmy/eyer

Repository files navigation

EyeR

Package to load, preprocess and work with raw eyetracking data.

Core ideas

The package works with EyerObject of S3 class eyer. You can construct the object on your own based on documentation

Loading

As the raw eyetracker data can get very large, the idea is that after the data has been preprocessed and fixations, saccades and events have been extracted, the package resaves the preprocessed files inside the original folder. In this way, when you load the participant's data again, you can immediately load the preprocessed files. In this way, the general function to read data takes a folder rather than a file and tries to look for and load any preprocessed raw files.

For preprocessing and loading raw eyetracker data, you either have to write your own code, or you can use pupilr for pupil labs eyetrakcking or eyelinkr for Eyelink SR 1000. Therse packages contain functions to convert data to proper eyer format.

Example code

dir <- 'path to the directory with preprocessed data'
eye <- load_eyer_data(dir)
save_eyer(eye) #saves preprocessed data

About

Package to work with eyetracking data in R

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages