Calculates the autovariance function (ACF) using Discrete Fourier Transformation.
This implementation is 2x as slow as Rs. Two issues: 1. memory resize and 2. unoptimized fft algorithm in arma. Consider piping back into R and rewrapping the object. (Decrease of about 10 microseconds.)
vec containing the ACF.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.