Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

diff.fts

Differences of a functional time series


Description

Computes differences of a fts object at each variable.

Usage

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

Arguments

x

An object of class fts.

lag

An integer indicating which lag to use.

differences

An integer indicating the order of the difference.

...

Other arguments.

Value

An object of class fts.

Author(s)

Rob J Hyndman

Examples

# ElNino is an object of sliced functional time series.
# Differencing is sometimes used to achieve stationarity.	
diff(x = ElNino_ERSST_region_1and2)

ftsa

Functional Time Series Analysis

v6.0
GPL-3
Authors
Rob Hyndman [aut] (<https://orcid.org/0000-0002-2140-5352>), Han Lin Shang [aut, cre, cph] (<https://orcid.org/0000-0003-1769-6430>)
Initial release
2020-11-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.