Learn R Programming

lpirfs (version 0.1.9)

create_lags: Compute a data frame with lagged exogenous variables

Description

Create a data.frame() with lagged exogenous variables.

Usage

create_lags(data, lags)

Arguments

data
lags

Integer for the number of lags.

Value

Returns a data.frame with lagged values.