repr_sax: SAX - Symbolic Aggregate Approximation

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

View source: R/SAX.R

Description

The repr_sax creates SAX symbols for a univariate time series.

Usage

1
repr_sax(x, q = 2, a = 6, eps = 0.01)

Arguments

x

the numeric vector (time series)

q

the integer of the length of the "piece" in PAA

a

the integer of the alphabet size

eps

is the minimum threshold for variance in x and should be a numeric value. If x has a smaller variance than eps, it will represented as a word using the middle alphabet.

Value

the character vector of SAX representation

Author(s)

Peter Laurinec, <tsreprpackage@gmail.com>

References

Lin J, Keogh E, Lonardi S, Chiu B (2003) A symbolic representation of time series, with implications for streaming algorithms. Proceedings of the 8th ACM SIGMOD Workshop on Research Issues in Data Mining and Knowledge Discovery - DMKD'03

See Also

repr_paa, repr_pla

Examples

1
2
x <- rnorm(48)
repr_sax(x, q = 4, a = 5)

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