computeAcf: Compute and shorten autocorrelation

Description Usage Arguments Value Examples

View source: R/sazed.R

Description

computeAcf computes the autocorrelation function of its argument and discards the zero lag and all lags greater than 2/3 of the argument's length

Usage

1

Arguments

y

The input time series.

Value

The shortened autocorrelation

Examples

1
2
3
season_length <- 26
y <- sin(1:400*2*pi/season_length)
computeAcf(y)

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