autocorr# swordfish.function.autocorr()# Calculate the autocorrelation of X. Parameters: X (Constant) – A vector. lag (Constant) – A positive integer.