dft_acf | R Documentation |
Calculates the autovariance function (ACF) using Discrete Fourier Transformation.
dft_acf(x)
x |
A |
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.)
A vec
containing the ACF.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.