Learn R Programming

RHRV (version 2.4)

CalculateSpectrogram: Calculates the spectrogram of a signal

Description

Calculates the spectrogram of the heart rate signal after filtering and interpolation in a window of a certain size

Usage

CalculateSpectrogram(HRVData, size, shift, sizesp = 1024, verbose=FALSE)

Arguments

HRVData
Data structure that stores the beats register and information related to it
size
Size of window for calculating spectrogram (seconds)
shift
Displacement of window for calculating spectrogram (seconds)
sizesp
Seconds for calculating spectrogram (zero padding)
verbose
Deprecated argument maintained for compatibility, use SetVerbose() instead

Value

  • Returns the spectrogram of the heart rate signal

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)