edf.recordings | R Documentation |
Loads the recordings of a SR EyeLink EDFfile.
edf.recordings(EDFfile, fields)
EDFfile |
a character string giving the name of the EDFfile to load. |
fields |
a character string array giving the names of the fields to load. |
fields may be:
"time": start time or end time
"state": 0 = END, 1=START
"record_type": 1 = SAMPLES, 2= EVENTS, 3= SAMPLES and EVENTS
"pupil_type": 0 = AREA, 1 = DIAMETER
"recording_mode": 0 = PUPIL, 1 = CR
"filter_type": 1, 2, 3
"sample_rate": 250 or 500
"pos_type": 0 = GAZE, 1= HREF, 2 = RAW
"eye": 1=LEFT, 2=RIGHT, 3=LEFT and RIGHT
Specification of the field values are copied from the EDF Access C API user manual.
a dataframe containing the specified fields of the recordings.
Guenther, T. and von der Malsburg, T.
## Not run: edf.recordings("example.EDF", c("time","state","record_type")) edf.recordings(EDFfile="example.EDF", fields=c("time","state","pupil_type","recording_mode","filter_type","eye")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.