LoadApneaWFDB {RHRV}R Documentation

Loads apnea episodes for WFDB record

Description

Loads the information of apnea episodes and stores it into the data structure containing the beat positions and other related information

Usage

LoadApneaWFDB(HRVData, RecordName, RecordPath = ".", Tag = "APNEA", verbose = FALSE)

Arguments

HRVData Data structure that stores the beats register and information related to it
RecordName The WFDB file to be used
RecordPath The path of the WFDB file
Tag to include APNEA episodes
verbose Boolean argument that allows to specify if the function returns additional information

Value

Returns HRVData, the structure that contains beat positions register and other related information and apnea episodes information

Note

On Windows and Macosx operating systems is necessary to define a .Renviron file in the user workspace indicating the directory of the wfdbtools commands. Examples for both OS are given below:

## .Renviron on Windows
PATH = "c:\\cygwin\\bin"
DYLD_LIBRARY_PATH = "c:\\cygwin\\lib"

## .Renviron on Macosx
PATH = "/opt/local/bin"
DYLD_LIBRARY_PATH = "/opt/local/bin"

Author(s)

M. Lado, A. Mendez, D. Olivieri, L. Rodriguez, X. Vila

References

L. Rodriguez-Linares, X. Vila, A. Mendez, M. Lado, D. Olivieri, "RHRV: An R-based software package for heart rate variability analysis of ECG recordings," 3rd Iberian Conference in Systems and Information Technologies (CISTI 2008), Proceedings I, 565-573, ISBN: 978-84-612-4476-8 (2008)


[Package RHRV version 2.1 Index]