I am using TSclust package for SAX (symbolic aggregate aggregation) plots. In accordance to example shown on page 25, I am using the function
SAX.plot(as.ts(df$power), w=30, alpha=4)
But, it generates error as:
Error in if ((n <- as.integer(n[1L])) > 0) { : argument is of length zero
I am not able to debug it. Even I looked into the source code of SAX.plot function but I do not find the relevant error message typed in.
The required R dataobject can be found at link
R version: 3.2
TSclust version:1.2.3