Description Usage Arguments Value Details Acknowledgement See Also Examples
The function reads the header of an EDF (European Data Format) file, an EDF+ file, an BDF file, or an BDF+ file
1 | readEdfHeader(fileName)
|
fileName |
The full path to the EDF(+)/BDF(+) file to be read. |
an object of class ebdfHeader
The object returned contains also an object of class ebdfSHeaders.
Both objects ebdfHeader and ebdfSHeaders have supporting S3 print and summary functions.
For object details see the package vignette.
This package has used code from:
edf.R version 0.3 (27-11-2013), http://feschet.fr/?p=11
the work of Henelius Andreas as of July 2015, https://github.com/bwrc/edf
edfReader
, readEdfSignals
For the vignette use the console command:
vignette('edfReaderVignette', package = "edfReader")
or click on Index
below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Examples from the vignette
libDir <- system.file ("extdata", package="edfReader")
# a continuous recording
CFile <- paste (libDir, '/edfPlusC.edf', sep='')
CHdr <- readEdfHeader (CFile)
CHdr # print the header
summary (CHdr) # print a header summary
str (CHdr) # look to the details
CHdr$sHeaders # print the signal headers
summary(CHdr$sHeaders) # print a signal headers summary
str(CHdr$sHeaders) # look to the signal header details
# for a discontinuous recording
DFile <- paste (libDir, '/bdfPlusD.bdf', sep='')
# and proceed as above to read the header and to show the results
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.