diff.ts {ts}R Documentation

diff Method for ts Objects

Description

diff method for ts objects.

Usage

diff.ts(x, lag=1, differences=1)

Arguments

x an object of class "ts" containing the values to be differenced.
lag an integer indicating which lag to use.
differences an integer indicating the order of the difference.

See Also

diff