Analyzes the ULF, VLF, LF and HF bands from a given indexFreqAnalysis allowing to evaluate the application of a desired function inside and outside each episode.
AnalyzePowerBandsByEpisodes( HRVData, indexFreqAnalysis = length(HRVData$FreqAnalysis), Tag ="", verbose =NULL, func,...)
Arguments
HRVData: Data structure that stores the beats register and information related to it.
indexFreqAnalysis: Integer value denoting which frequency analysis is going to be analyzed using func. Default: 1
Tag: Type of episode
verbose: Deprecated argument maintained for compatibility, use SetVerbose() instead
func: Function to be applied to each power band inside and outside episodes
...: Optional arguments for func.
Returns
Returns a list with two objects, that is, the values of the application of the selected function inside ("resultIn") and outside ("resultOut") episodes in the given indexFreqAnalysis. Each of these list has another set of lists: the "ULF", "VLF", "LF" and "HF" lists.