lagdl {onlineforecast}R Documentation

Lagging which returns a data.list

Description

Lagging by shifting the values back or fourth always returning a data.list.

Usage

lagdl(DL, lagseq)

Arguments

DL

The data.list to be lagged.

lagseq

The integer(s) setting the lag steps.

Details

This function lags (shifts) the values of the vector. A data.list is always returned with each data.frame lagged with lagdf.

Value

A data.list.

Examples

# The values are simply shifted in each data.frame with lagdf


[Package onlineforecast version 1.0.2 Index]