powered by
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
computeAcf
computeAcf(y)
The input time series.
The shortened autocorrelation
# NOT RUN { season_length <- 26 y <- sin(1:400*2*pi/season_length) computeAcf(y) # }
Run the code above in your browser using DataLab