Creates new episodes, or annotated physiological events, from existing ones and stores them into the data structure containing the beat positions
GenerateEpisodes(HRVData, NewBegFrom, NewEndFrom, DispBeg, DispEnd,
OldTag = "", NewTag = "", verbose=NULL)
Returns HRVData, the structure that contains beat positions register and new episodes information
Data structure that stores the beats register and information related to it
Source of new beginning of episodes ("Beg" for indicating the beginning as the beginning of the old episode, "End" for end)
Source of new end of episodes ("Beg" for indicating the end as the beginning of the old episode, "End" for end)
Absolute displacement from the beginning for new episodes in seconds
Absolute displacement from the end for new episodes in seconds
Tag of old episodes
Tag for new episodes (if empty, copies OldTag)
Deprecated argument maintained for compatibility, use SetVerbose() instead
M. Lado, A. Mendez, D. Olivieri, L. Rodriguez, X. Vila
L. Rodriguez-Linares, A. Mendez, M. Lado, D. Olivieri, X. Vila, I. Gomez-Conde, "An open source tool for heart rate variability spectral analysis", Computer Methods and Programs in Biomedicine 103, 39-50, doi:10.1016/j.cmpb.2010.05.012 (2011)