Learn R Programming

sazedR (version 2.0.2)

ze: Compute the ZE component of the SAZED ensemble

Description

ze estimates the season length of its argument from the mean zero distance

Usage

ze(y, preprocess = T)

Arguments

y

The input time series.

preprocess

If true, y is detrended and z-normalized before computation.

Value

The ZE season length estimate of y.

Examples

Run this code
# NOT RUN {
season_length <- 26
y <- sin(1:400*2*pi/season_length)
ze(y)
ze(y, preprocess = FALSE)
# }

Run the code above in your browser using DataLab