lag.dfts | R Documentation |
Compute a lagged version of a functional time series, shifting the time base back by a given number of observations.
## S3 method for class 'dfts'
lag(x, k = 1, ...)
x |
A dfts object. See |
k |
Integer for the number of lags (in units of observations). |
... |
Unused additional parameters. |
A dfts object.
stats::lag()
, diff.dfts()
result <- lag(electricity)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.