Learn R Programming

lpirfs (version 0.2.4)

create_lags: Compute a data frame with lagged exogenous variables

Description

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

Usage

create_lags(data, lags)

Value

Returns a data.frame with lagged values.

Arguments

data

A data.frame().

lags

Integer for the number of lags.

Author

Philipp Adämmer