Learn R Programming

multibreakeR (version 0.1.0)

Lags: Lags

Description

Compute the lags for the mat.y time series matrix

Usage

Lags(mat.y, q)

Value

A list of original (dependent) and lagged (independent) time series matrix

Arguments

mat.y

The matrix of time series

q

The lag chosen

Examples

Run this code
data(example_data)
list.lags <- Lags(mat.y = example_data, q = 2)

Run the code above in your browser using DataLab