
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.RdCalculate 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
numericvector of values- attrs
charactervector denoting which components to calculate. Can be one of"real","imag","abs", or"angle". Defaults to all throughc("real", "imag", "abs", "angle")