lag.dfts {fChange}R Documentation

Lag dfts objects

Description

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.

Value

A dfts object.

See Also

stats::lag(), diff.dfts()

Examples

result <- lag(electricity)

[Package fChange version 2.1.0 Index]