View source: R/rolling_autoc.R
rolling_autoc | R Documentation |
finds lag-1 autocorrelation in a rolling window; can be used to predict resilience (Liu, Gao, & Wang, 2018)
rolling_autoc(data, col, l)
data |
The dataframe that will be used. |
col |
The column we are measuring change on. |
l |
The time interval (no. of columns) used in the autocorrelation. |
A table of rolling lag-1 autocorrelation values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.