differences | R Documentation |
Differencing of a series
differences(data, lags = 1, mean = TRUE)
data |
The series to be differenced. |
lags |
Lags of the differencing. |
mean |
Mean correction. |
The differenced series.
differences(rjd3toolkit::retail$BookStores, c(1,1,12), FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.