azed: Compute the AZED component of the SAZED ensemble

Description Usage Arguments Value Examples

View source: R/sazed.R

Description

azed computes the autocorrelation of its argument, and then derives the season length from its the autocorrelations zero density.

Usage

1
azed(y, preprocess = T)

Arguments

y

The input time series.

preprocess

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

Value

The AZED season length estimate of y.

Examples

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

sazedR documentation built on Oct. 23, 2020, 6:37 p.m.