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)
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