calcFrequency: Estimate the frequency of a periodic signal
Description
Function to estimate the "dominant" frequency of a periodic time series signal.
Usage
calcFrequency(series, plot.periodogram = FALSE)
Arguments
series
numeric vector: input vector (time series)
plot.periodogram
logical: whether to plot a periodogram
Value
Details
This function uses Fourier decomposition to determine the 'major' frequency of a time
series. Technically this is the frequency of the Fourier component with the highest
variance. The function is used by filterTSeriesSSA to determine the frequencies
of the individual SSA components.