View source: R/extract_variables.R
extract_variables | R Documentation |
Extracts variables 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_variables = TRUE
).
extract_variables(object)
## S3 method for class 'data.frame'
extract_variables(object)
## S3 method for class 'eyelinkRecording'
extract_variables(object)
object |
Either an |
Object of the same time as input, i.e., either a eyelinkRecording
object
with an additional variables
slot or a data.frame with variables' information. See
eyelinkRecording
for details.
read_edf, eyelinkRecording
data(gaze)
# by passing the recording
gaze <- extract_variables(gaze)
# by passing events table
variables <- extract_variables(gaze$events)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.