Learn R Programming

AutoSEARCH (version 1.5)

gLag: Lag a series

Description

A wrapper to the glag function in the lgarch package.

Usage

gLag(y, k=1, na.value=NA)

Arguments

y
numeric vector, time-series or zoo object
k
integer equal to or greater than 1. Default: k=1
na.value
the value to replace the lost values with. Default: na.replace=NA

Value

the lagged vector, time series or zoo object

See Also

glag