Description Usage Arguments Value See Also
This code is adapted from the function lomb.m from http://www.mit.edu/~gari/CODE/HRV/CliffordHRVtools.zip.
1 2 | lombscargle(x, t, f = NULL, smooth = FALSE, smooth.kernel = "daniell",
smooth.degree = 5, normalization = "none", ofac = 4, hifac = 1)
|
x |
A vector with the events to be enalysed. |
t |
A vector with the time instants of the events. |
f |
A vector of frequencies at which the spectrum should be estimated. |
smooth |
Should the spectrum be smoothed. Default is FALSE. |
smooth.kernel |
The smoothing kernel. The default is to use a 'daniell' kernel. |
smooth.degree |
The degree of smoothing. Default is 5. |
normalization |
How to normalize the spectrum. Possible values are 'none' (default) and 'variance'. If 'none' the area of the power spectrum equals the variance of the signal. For 'variance', the area of the power spectrum is normalized by dividing by two times the variance of the signal. |
ofac |
Oversampling factor. Default is 4. |
hifac |
The spectrum is calculated for frequencies up to hifac * average sampling frequency. Default is 1. |
A list with the following components.
The frequencies at which the spectrum was estimated.
The power at the frequencies in f.
The probability of the power in a particular frequency band
http://www.ltrr.arizona.edu/~dmeko/notes_6.pdf https://onlinecourses.science.psu.edu/stat510/?q=book/export/html/57 http://reference.wolfram.com/applications/timeseries/UsersGuideToTimeSeries/SpectralAnalysis/1.8.4.html
Other HRV frequency-domain: analyse_frequencydomain_helper
,
analyse_frequencydomain
,
ibi_band_custom
,
ibi_band_standard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.