Learn R Programming

ffbase (version 0.6-2)

diff.ff: Lagged Differences

Description

Returned suitably lagged and iterated differences

Usage

## S3 method for class 'ff':
diff(x, lag = 1L, differences = 1L, ...)

Arguments

x
a ff vector containing values to be differenced
lag
a n integer indicating which lag to use
differences
an integer indicating the order of the difference
...
other parameters will be passed on to diff