Learn R Programming

ftsa (version 4.4)

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

Value

An object of class fts.

Examples

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

Run the code above in your browser using DataLab