series_to_chars: Transforms a time series into the char array using SAX and...

View source: R/RcppExports.R

series_to_charsR Documentation

Transforms a time series into the char array using SAX and the normal alphabet.

Description

Transforms a time series into the char array using SAX and the normal alphabet.

Usage

series_to_chars(ts, a_size)

Arguments

ts

the timeseries.

a_size

the alphabet size.

References

Lonardi, S., Lin, J., Keogh, E., Patel, P., Finding motifs in time series. In Proc. of the 2nd Workshop on Temporal Data Mining (pp. 53-68). (2002)

Examples

y = c(-1, -2, -1, 0, 2, 1, 1, 0)
y_paa3 = paa(y, 3)
series_to_chars(y_paa3, 3)

jMotif/jmotif-R documentation built on Sept. 27, 2022, 4:31 p.m.