read.edf {edf}R Documentation

Read a European Data Format (EDF and EDF+) file.

Description

This function reads the data stored in an EDF or EDF+ file. This data consists of, e.g., physiologic signals and possibly also annotations (EDF+ files only).

Usage

read.edf(filename, read.annotations = TRUE, header.only = FALSE)

Arguments

filename

The full path to the EDF/EDF+ file to be read.

read.annotations

Boolean denoting whether or not annotations should be read, if they are present. Defaults is TRUE.

header.only

Boolean denoting whether to only read the headers in the EDF file. Default is FALSE. #' @return A list containing

  1. the global header (recording start date, duration etc).

  2. the signal headers (transducer types, sampling rates etc).

  3. the signal data

  4. the events (annotations). This is always NA for EDF files. This is NA for EDF+ files without annotations.

References

Kemp B., V\"arri, A., Rosa, A.C., Nielsen, K.D. and Gade, J. (1992). A simple format for exchange of digitized polygraphic recordings. Electroencephalogr Clin Neurophysiol. 1992 May;82(5):391-3. http://www.ncbi.nlm.nih.gov/pubmed/1374708

Kemp, B. and Olivan, J. (2003). European data format 'plus' (EDF+), an EDF alike standard format for the exchange of physiological data. Clin Neurophysiol. 2003 Sep;114(9):1755-61. http://www.ncbi.nlm.nih.gov/pubmed/12948806


[Package edf version 1.0.0 Index]