lagn: Create lags for matrix

Description Usage Arguments Value

Description

This function adds lags to a vector.

Usage

1
lagn(x,n)

Arguments

x

A vector to apply the lag to

n

The number of lags to add to the vector

Value

y A vector with a lag n added


Stevo15025/PANICr documentation built on May 9, 2019, 3:08 p.m.