dif {UComp}R Documentation

dif

Description

Discrete differencing of time series

Usage

dif(y, difs = 1, seas = 1)

Arguments

y

a vector, ts or tsibble object

difs

vector with differencing orders

seas

vector of seasonal periods

Value

Differenced time series

Author(s)

Diego J. Pedregal

See Also

colMedians, rowMedians, tests, sumStats, gaussTest, ident, cusum, varTest, conv, armaFilter, roots, zplane, acft, slide, plotSlide, Accuracy, tsDisplay, size

Examples

dif(AirPassengers)
dif(AirPassengers, 2)
dif(AirPassengers, c(1, 1), c(1, 12))

[Package UComp version 5.0.4 Index]