autocor: Function to compute sample autocorrelation function for fixed time points of equal lag autocor.adopdf help file
Credit: This function was written by Dr. Elizabeth Garrett at Johns Hopkins University