differences: Differencing of a series

View source: R/differencing.R

differencesR Documentation

Differencing of a series

Description

Differencing of a series

Usage

differences(data, lags = 1, mean = TRUE)

Arguments

data

The series to be differenced.

lags

Lags of the differencing.

mean

Apply a mean correction at the end of the differencing process.

Value

The differenced series.

Examples

differences(retail$BookStores, c(1, 1, 12), FALSE)


palatej/rjd3toolkit documentation built on Oct. 30, 2024, 10:46 p.m.