repr_paa {TSrepr} | R Documentation |
The repr_paa
computes PAA representation from a vector.
repr_paa(x, q, func)
x |
the numeric vector (time series) |
q |
the integer of the length of the "piece" |
func |
the aggregation function. Can be meanC, medianC, sumC, minC or maxC or similar aggregation function |
PAA with possibility to use arbitrary aggregation function. The original method uses average as aggregation function.
the numeric vector
Peter Laurinec, <tsreprpackage@gmail.com>
Keogh E, Chakrabarti K, Pazzani M, Mehrotra Sh (2001) Dimensionality Reduction for Fast Similarity Search in Large Time Series Databases. Knowledge and Information Systems 3(3):263-286
repr_dwt, repr_dft, repr_dct, repr_sma
repr_paa(rnorm(11), 2, meanC)