repr_paa: PAA - Piecewise Aggregate Approximation

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/RcppExports.R

Description

The repr_paa computes PAA representation from a vector.

Usage

1
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

1
repr_paa(rnorm(11), 2, meanC)

PetoLau/TSrepr documentation built on July 14, 2020, 6:13 p.m.