repr_pip: PIP representation

Description Usage Arguments Value Author(s) References Examples

View source: R/PIP.R

Description

The repr_pip computes PIP (Perceptually Important Points) representation from a time series.

Usage

1
repr_pip(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 important points ("points"), places of important points 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

Fu TC, Chung FL, Luk R, and Ng CM (2008) Representing financial time series based on data point importance. Engineering Applications of Artificial Intelligence, 21(2):277-300

Examples

1
repr_pip(rnorm(100), times = 12, return = "both")

TSrepr documentation built on July 13, 2020, 9:07 a.m.