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

Description Usage Arguments References Examples

View source: R/RcppExports.R

Description

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

Usage

1

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

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

Example output

Loading required package: Rcpp
[1] "a" "c" "c"

jmotif documentation built on March 26, 2020, 7:23 p.m.