| extract_fixations {eyelinkReader} | R Documentation |
Extract fixations
Description
Extracts fixations from the events table of the eyelinkRecording object.
Normally, you don't need to call this function yourself,
as it is called during the read_edf with default settings
(e.g., import_fixations = TRUE).
Usage
extract_fixations(object)
## S3 method for class 'data.frame'
extract_fixations(object)
## S3 method for class 'eyelinkRecording'
extract_fixations(object)
Arguments
object |
Either an |
Value
Object of the same time as input, i.e., either a eyelinkRecording object
with an additional fixations slot or a data.frame with fixations' information. See
eyelinkRecording for details.
See Also
read_edf, eyelinkRecording
Examples
data(gaze)
# by passing the recording
gaze <- extract_fixations(gaze)
# by passing events table
fixations <- extract_fixations(gaze$events)
[Package eyelinkReader version 1.0.1 Index]