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


PANICr documentation built on May 2, 2019, 4:40 a.m.