powered by
ggs_autocorrelation
ac(x, nLags)
# Calculate the autocorrelation of a simple vector ac(cumsum(rnorm(10))/10, nLags=4)
Run the code above in your browser using DataLab