repr_pla {TSrepr} | R Documentation |
PLA representation
Description
The repr_pla
computes PLA (Piecewise Linear Approximation) representation from a time series.
Usage
repr_pla(x, times = 10, return = "points")
Arguments
x |
the numeric vector (time series) |
times |
the number of important points to extract (default 10) |
return |
what to return? Can be "points" (segments), places of points (segments) in a vector ("places") or "both" (data.frame). |
Value
the values based on the argument return (see above)
Author(s)
Peter Laurinec, <tsreprpackage@gmail.com>
References
Zhu Y, Wu D, Li Sh (2007) A Piecewise Linear Representation Method of Time Series Based on Feature Points. Knowledge-Based Intelligent Information and Engineering Systems 4693:1066-1072
Examples
repr_pla(rnorm(100), times = 12, return = "both")
[Package TSrepr version 1.1.0 Index]