extract_AOIs: Extracts rectangular areas of interest (AOI)
Description
Extracts rectangular areas of interest (AOI),
as defined by "!V IAREA RECTANGLE" command.
Specifically, we expect it to be in format
!V IAREA RECTANGLE <index> <left> <top> <right> <bottom> <label>,
where <label> is a string label and all other variables are integer.
Please note that due to a non-standard nature of this function is not called
during the read_edf call and you need to call it separately.
Usage
extract_AOIs(object)
# S3 method for data.frame
extract_AOIs(object)
# S3 method for eyelinkRecording
extract_AOIs(object)
Value
Object of the same time as input, i.e., either a eyelinkRecording object
with an additional AOIs slot or a data.frame with AOIs' information. See
eyelinkRecording for details.
Arguments
object
Either an eyelinkRecording object or data.frame with events,
i.e., events slot of the eyelinkRecording object.