Description Usage Arguments References Examples
Transforms a time series into the char array using SAX and the normal alphabet.
1 | series_to_chars(ts, a_size)
|
ts |
the timeseries. |
a_size |
the alphabet size. |
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)
1 2 3 | y = c(-1, -2, -1, 0, 2, 1, 1, 0)
y_paa3 = paa(y, 3)
series_to_chars(y_paa3, 3)
|
Loading required package: Rcpp
[1] "a" "c" "c"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.