Compute the ZE component of the SAZED ensemble
ze
estimates the season length of its argument from the mean zero distance
ze(y, preprocess = T)
y
: The input time series.preprocess
: If true, y is detrended and z-normalized before computation.The ZE season length estimate of y.
season_length <- 26 y <- sin(1:400*2*pi/season_length) ze(y) ze(y, preprocess = FALSE)