lag.formula function

Lags a variable using a formula