repr_paa {TSrepr} | R Documentation |
PAA - Piecewise Aggregate Approximation
Description
The repr_paa
computes PAA representation from a vector.
Usage
repr_paa(x, q, func)
Arguments
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 |
Details
PAA with possibility to use arbitrary aggregation function. The original method uses average as aggregation function.
Value
the numeric vector
Author(s)
Peter Laurinec, <tsreprpackage@gmail.com>
References
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
See Also
repr_dwt, repr_dft, repr_dct, repr_sma
Examples
repr_paa(rnorm(11), 2, meanC)
[Package TSrepr version 1.1.0 Index]