powered by
Modified from rstan https://github.com/stan-dev/rstan/blob/develop/rstan/rstan/R/monitor.R.
funAC(y)
Autocovariances at different lags
Time series
Used in 'funESS3()'.