Lag dfts objects
lag.dfts.Rd
Compute a lagged version of a functional time series, shifting the time base back by a given number of observations.
Usage
# S3 method for class 'dfts'
lag(x, k = 1, ...)
Arguments
- x
A dfts object. See
dfts()
.- k
Integer for the number of lags (in units of observations).
- ...
Unused additional parameters.
Examples
result <- lag(electricity)