Transforms a time series object to a frequency series by computing FFT.
Arguments
- x
A `ts` object.
- delta_f
Optional. A numeric value indicating desired frequency resolution.
If NULL, defaults to `sampling.freq / length(x)`.
Value
An `fs` object containing frequency-domain representation and metadata.