lagMat: lagMat: Create a matrix of lags

View source: R/qDEA.R

lagMatR Documentation

lagMat: Create a matrix of lags

Description

lagMat: Create a matrix of lags

Usage

lagMat(x, lags = 2, Lzero = FALSE)

Arguments

x

Vector to be 'lagged'

lags

Number of lagged columns in resulting matrix

Lzero

(F= do not include x[i] in row i) (T = include x[i] in row i)

Value

= lagged matrix


qDEA documentation built on April 13, 2026, 5:07 p.m.