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 |
Apply a mean correction at the end of the differencing process. |
The differenced series.
differences(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.