diff.fts | R Documentation |
Computes differences of a fts
object at each variable.
## S3 method for class 'fts'
diff(x, lag = 1, differences = 1, ...)
x |
An object of class |
lag |
An integer indicating which lag to use. |
differences |
An integer indicating the order of the difference. |
... |
Other arguments. |
An object of class fts
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.