Learn R Programming

RHRV (version 2.4)

GenerateEpisodes: Creates new episodes from old ones

Description

Creates new episodes, or annotated physiological events, from existing ones and stores them into the data structure containing the beat positions

Usage

GenerateEpisodes(HRVData, NewBegFrom, NewEndFrom, DispBeg, DispEnd, OldTag = "", NewTag = "", verbose=FALSE)

Arguments

HRVData
Data structure that stores the beats register and information related to it
NewBegFrom
Source of new beginning of episodes ("Beg" for indicating the beginning as the beginning of the old episode, "End" for end)
NewEndFrom
Source of new end of episodes ("Beg" for indicating the end as the beginning of the old episode, "End" for end)
DispBeg
Absolute displacement from the beginning for new episodes in seconds
DispEnd
Absolute displacement from the end for new episodes in seconds
OldTag
Tag of old episodes
NewTag
Tag for new episodes (if empty, copies OldTag)
verbose
Deprecated argument maintained for compatibility, use SetVerbose() instead

Value

  • Returns HRVData, the structure that contains beat positions register and new episodes information

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)