
Calculate the first 100 FFT coefficients for a time-series vector as per the tsfresh package for Python
Source:R/fft_coefficients.R
fft_coefficients.Rd
Calculate the first 100 FFT coefficients for a time-series vector as per the tsfresh package for Python
Usage
fft_coefficients(y, attrs = c("real", "imag", "abs", "angle"))
Arguments
- y
numeric
vector of values- attrs
character
vector denoting which components to calculate. Can be one of"real"
,"imag"
,"abs"
, or"angle"
. Defaults to all throughc("real", "imag", "abs", "angle")