repr_dct {TSrepr} | R Documentation |
The repr_dct
computes DCT (Discrete Cosine Transform) representation from a time series.
repr_dct(x, coef = 10)
x |
the numeric vector (time series) |
coef |
the number of coefficients to extract from DCT |
The length of the final time series representation is equal to set coef
parameter.
the numeric vector of DCT coefficients
Peter Laurinec, <tsreprpackage@gmail.com>
repr_dct(rnorm(50), coef = 4)