powered by
sazed.maj estimates a time series' season length by computing 6 different estimates and taking a majority vote.
sazed.maj
sazed.maj(y, iter = 0, method = "down", preprocess = T)
The input time series.
The recursion depth.
The method used for breaking ties. One of c("alt","diff","down").
c("alt","diff","down")
If true, y is detrended and z-normalized before computation.
The season length of the input time series.
# NOT RUN { season_length <- 26 y <- sin(1:400*2*pi/season_length) sazed.maj(y) # }
Run the code above in your browser using DataLab