SAX
Examples
library(daltoolbox)
vector <- 1:52
model <- trans_sax(alpha = 26)
model <- fit(model, vector)
xvector <- transform(model, vector)
print(xvector)
#> [1] "A" "A" "B" "B" "C" "C" "D" "D" "E" "E" "F" "F" "G" "G" "H" "H" "I" "I" "J"
#> [20] "J" "K" "K" "L" "L" "M" "M" "N" "N" "O" "O" "P" "P" "Q" "Q" "R" "R" "S" "S"
#> [39] "T" "T" "U" "U" "V" "V" "W" "W" "X" "X" "Y" "Y" "Z" "Z"