| lagpad {ecm} | R Documentation | 
Lag a vector
Description
Create a vector of the lag of a variable and fill missing values with NA's.
Usage
lagpad(x, k = 1)
Arguments
| x | A vector to be lagged | 
| k | The number of lags to output | 
Value
The lagged vector with NA's in missing values
[Package ecm version 7.2.0 Index]