A function for creating lag and lead variables, including for time-series cross-sectional data.
Useful links