zed function

Compute the ZED component of the SAZED ensemble

Compute the ZED component of the SAZED ensemble

zed computes the zero density of its argument, and then derives the season length from it.

zed(y, preprocess = T)

Arguments

  • y: The input time series.
  • preprocess: If true, y is detrended and z-normalized before computation.

Returns

The ZED season length estimate of y.

Examples

season_length <- 26 y <- sin(1:400*2*pi/season_length) zed(y) zed(y, preprocess = FALSE)