Learn R Programming

jmotif (version 1.1.1)

series_to_string: Transforms a time series into the string.

Description

Transforms a time series into the string.

Usage

series_to_string(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

Run this code
# NOT RUN {
y = c(-1, -2, -1, 0, 2, 1, 1, 0)
y_paa3 = paa(y, 3)
series_to_string(y_paa3, 3)
# }

Run the code above in your browser using DataLab