lagn: Create lags for matrix

View source: R/lagn.R

lagnR Documentation

Create lags for matrix

Description

This function adds lags to a vector.

Usage

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 Sept. 7, 2024, 4:30 p.m.