Package edfreader. R topics documented: May 21, 2017

Similar documents
Package ECctmc. May 1, 2018

Package fastdummies. January 8, 2018

Package SEMrushR. November 3, 2018

Package WordR. September 7, 2017

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package bisect. April 16, 2018

Package datasets.load

Package docxtools. July 6, 2018

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package validara. October 19, 2017

Package lumberjack. R topics documented: July 20, 2018

Package robotstxt. November 12, 2017

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package svalues. July 15, 2018

Package fitbitscraper

Package qualmap. R topics documented: September 12, Type Package

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package shinyfeedback

Package internetarchive

Package AdhereR. June 15, 2018

Package splithalf. March 17, 2018

Package messaging. May 27, 2018

Package vinereg. August 10, 2018

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package kdtools. April 26, 2018

Package postgistools

Package eply. April 6, 2018

Package profvis. R topics documented:

Package knitrprogressbar

Package goodpractice

Package gtrendsr. October 19, 2017

Package RODBCext. July 31, 2017

Package jdx. R topics documented: January 9, Type Package Title 'Java' Data Exchange for 'R' and 'rjava'

Package clipr. June 23, 2018

Package modules. July 22, 2017

Package nngeo. September 29, 2018

Package weco. May 4, 2018

Package triebeard. August 29, 2016

Package githubinstall

Package mdftracks. February 6, 2017

Package epitab. July 4, 2018

Package phrasemachine

Package readxl. April 18, 2017

Package gtrendsr. August 4, 2018

Package calpassapi. August 25, 2018

Package canvasxpress

Package pdfsearch. July 10, 2018

Package rsppfp. November 20, 2018

Package spelling. December 18, 2017

Package preprosim. July 26, 2016

Package effectr. January 17, 2018

Package labelvector. July 28, 2018

Package snakecase. R topics documented: March 25, Version Date Title Convert Strings into any Case

Package repec. August 31, 2018

Package wrswor. R topics documented: February 2, Type Package

Package stapler. November 27, 2017

Package deductive. June 2, 2017

Package GetITRData. October 22, 2017

Package loggit. April 9, 2018

Package climber. R topics documented:

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package ggrepel. September 30, 2017

Package essurvey. August 23, 2018

Package geneslope. October 26, 2016

Package BiocManager. November 13, 2018

Package balance. October 12, 2018

Package barcoder. October 26, 2018

Package elmnnrcpp. July 21, 2018

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files

Package benchmarkme. R topics documented: February 26, Type Package Title Crowd Sourced System Benchmarks Version 0.2.

Package facerec. May 14, 2018

Package confidence. July 2, 2017

Package rgho. R topics documented: January 18, 2017

Package opencage. January 16, 2018

Package zebu. R topics documented: October 24, 2017

Package rprojroot. January 3, Title Finding Files in Project Subdirectories Version 1.3-2

Package TrafficBDE. March 1, 2018

Package fingertipsr. May 25, Type Package Version Title Fingertips Data for Public Health

Package dkanr. July 12, 2018

Package datapasta. January 24, 2018

Package smapr. October 20, 2017

Package filematrix. R topics documented: February 27, Type Package

Package redux. May 31, 2018

Package quickreg. R topics documented:

Package diagis. January 25, 2018

Package ezknitr. September 16, 2016

Package censusapi. August 19, 2018

Package knitrbootstrap

Package sfc. August 29, 2016

Package editdata. October 7, 2017

Package jpmesh. December 4, 2017

Package states. May 4, 2018

Package texpreview. August 15, 2018

Package catenary. May 4, 2018

Package widyr. August 14, 2017

Package IsoCorrectoR. R topics documented:

Package queuecomputer

Package textrank. December 18, 2017

Package haplor. November 1, 2017

Package biotic. April 20, 2016

Transcription:

Type Package Title Reading EDF(+) and BDF(+) Files Version 1.1.2 Date 2017-05-13 Maintainer Jan Vis <jan@visconsultancy.eu> Package edfreader May 21, 2017 Description Reads European Data Format files EDF and EDF+, see <http://www.edfplus.info>, BioSemi Data Format files BDF, see <http://www.biosemi.com/faq/file_format.htm>, and BDF+ files, see <http://www.teuniz.net/edfbrowser/bdfplus%20format%20description.html>. The files are read in two steps: first the header is read and then the signals (using the header object as a parameter). License GPL-3 LazyData TRUE Imports RoxygenNote 6.0.1 Depends R (>= 3.2.0) Suggests testthat, knitr, rmarkdown, ggplot2 VignetteBuilder knitr NeedsCompilation no Author Jan Vis [aut, cre] Repository CRAN Date/Publication 2017-05-21 10:22:25 UTC R topics documented: edfreader.......................................... 2 readedfheader....................................... 3 readedfsignals....................................... 4 Index 7 1

2 edfreader edfreader edfreader: A package for reading EDF(+) and BDF(+) files Description The edfreader package reads EDF(+) and BDF(+) files in two steps: first the header is read and then the signals (using the header object as an parameter). edfreader functions readedfheader readedfsignals to read the file header with basic info about the signals to read one or more recorded signals The objects returned by these functions are described in the package vignette. Details Package edfreader Version 1.1.2 Date May 18, 2017 Licence GPL version 3 or newer GitHub https://github.com/pisca46/edfreader Author Jan Vis, Vis Consultancy E-mail jan@visconsultancy.eu Web visconsultancy.eu Acknowledgement This package has used code from: edf.r version 0.3 (27-11-2013) from Fabien Feschet, http://data-auvergne.fr/cloud/index.php/s/wymfedzylfwjzns the work of Henelius Andreas as of July 2015, https://github.com/bwrc/edf See Also For the vignette use the console command: vignette('edfreadervignette', package = "edfreader") or click on Index below.

readedfheader 3 readedfheader Read EDF(+) or BDF(+) file header Description Usage The function reads the header of an EDF (European Data Format) file, an EDF+ file, an BDF file, or an BDF+ file readedfheader(filename) Arguments filename The full path to the EDF(+)/BDF(+) file to be read. Value Details 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. Acknowledgement See Also 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. Examples # 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

4 readedfsignals 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 readedfsignals Reads signals from an EDF(+)/BDF(+) file Description The function reads ordinary or annotation signals from an EDF(+)/BDF(+) file. Usage readedfsignals(hdr, signals = "All", from = 0, till = Inf, physical = TRUE, fragments = FALSE, recordstarts = FALSE, mergeasignals = TRUE, simplify = TRUE) Arguments hdr signals from till physical fragments recordstarts mergeasignals simplify An ebdfheader object read with the readedfheader() function. a vector with one or more of the following signal designations: All (default), to include all signals; Ordinary, to include all ordinary signals; Annotations, to include all annotation signals; signal labels and/or signal names signal numbers (numeric or as character). numeric, the time in seconds from which the signals shall be read. numeric, the time in seconds till which the signals shall be read. The value may exceed the total duration of the recoding. logical, if TRUE (the default) digital samples values are mapped to their physical values, If not, the digital values are returned. logical, if TRUE discontinuously recorded signals are stored as a list of continuous fragments. If FALSE (the default), a signal is stored as one numeric vector with NA values filling the gaps. logical, if TRUE the empty annotations with the data record start time will be included in the list of annotations. If FALSE (the default), they will be omitted. logical, if TRUE all annotations will be merged into one data frame. If FALSE there will be one data frame per annotation signal. logical, if TRUE and if there is only one signal read, the signal itself is returned (in stead of a list with that signal as the only one object). If FALSE, this simplification is not performed.

readedfsignals 5 Details Value Note The list of signals returned is of class ebdfsignals and a single signal object is of one of the following classes: ebdfasignal, for an annotation signal ebdffsignal, for a fragmented ordinary signal ebdfcsignal, for a continuous ordinary signal (possible supplemented with NA values) All classes have supporting print and summary functions. For object details see the package vignette. Either a list of one or more signals or a single signal. For ordinary signals the from and till parameters are interpreted as [from, till). For for details see the package vignette. Acknowledgement See Also 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, readedfheader For the vignette use the console command: vignette('edfreadervignette', package = "edfreader") or click on Index below. Examples # Examples from the vignette libdir <- system.file ("extdata", package="edfreader") # a continuous recording CFile <- paste (libdir, '/edfplusc.edf', sep='') CHdr <- readedfheader (CFile) CSignals <- readedfsignals (CHdr) # to read all signals # read 3 differently designated signals from 5.1 till 18 seconds period somecsignalsperiod <- readedfsignals (CHdr, signals=c(3, "5", "sine 8.5 Hz"), from=5.1, till=18) somecsignalsperiod # print the signals summary(somecsignalsperiod) # print singals summary somecsignalsperiod$ sine 8.5 Hz # print the sine 8.5 Hz signal summary(somecsignalsperiod$ sine 8.5 Hz ) # print a sine 8.5 Hz signal summary str(csignals$ sine 8.5 Hz ) # look to the details # a discontinuous recording

6 readedfsignals DFile <- paste (libdir, '/edfplusd.edf', sep='') DHdr <- readedfheader (DFile) DSignals <- readedfsignals (DHdr, fragments=true) # to read all signals DSignals$ sine 8.5 Hz # print fragmented signal summary (DSignals$ sine 8.5 Hz ) # print fragmented signal summary str(dsignals$ sine 8.5 Hz ) # look to the details

Index bdfreader (edfreader), 2 edfreader, 2, 3, 5 edfreader-package (edfreader), 2 readbdfheader (readedfheader), 3 readbdfsignals (readedfsignals), 4 readedfheader, 2, 3, 5 readedfsignals, 2, 3, 4 7