powered by
Computes differences of a fts object at each variable.
fts
# S3 method for fts diff(x, lag = 1, differences = 1, ...)
An object of class fts.
An integer indicating which lag to use.
An integer indicating the order of the difference.
Other arguments.
Rob J Hyndman
# ElNino is an object of sliced functional time series. # Differencing is sometimes used to achieve stationarity. diff(x = ElNino_ERSST_region_1and2)
Run the code above in your browser using DataLab