create_lags function

Compute a data frame with lagged exogenous variables

Compute a data frame with lagged exogenous variables

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

create_lags(data, lags)

Arguments

  • data: A data.frame ().
  • lags: Integer for the number of lags.

Returns

Returns a data.frame with lagged values.

Author(s)

Philipp Adämmer

  • Maintainer: Philipp Adämmer
  • License: GPL (>= 2)
  • Last published: 2025-03-18

Useful links