cv.lead: Create a lead variable

Description Usage Arguments Examples

View source: R/cv.lead.R

Description

Create a lead variable, with a choice of lead periods. The lead variable can be used to test lead effects between variables.

Usage

1
cv.lead(x,n)

Arguments

x

:a vector

n

:number of lead periods

Examples

1
2

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to cv.lead in YRmisc...