Calculate Dominant Frequency of a time series
Usage
calculate_dominant_frequency(x, frequency, f_min = 4, f_max = 9)
Arguments
- x
Numeric vector of the time series
- frequency
Sampling frequency of the signal
- f_min
Minimum frequency to consider (default 4 Hz)
- f_max
Maximum frequency to consider (default 9 Hz)
Value
Dominant Frequency in Hz