Lag Time Series
This function lags the input time series by the specified number of time periods.
TSLAG(x = NULL, L = 1, avoidCompliance = FALSE, ...)
This function returns a BIMETS time series built by lagging the input time series.
#DEFINE TS n=10 ts1=TSERIES(n:1,START=c(2000,1),FREQ=1) ts1[5]=NA #print TSLAG TABIT(ts1,TSLAG(ts1,5)) n=10 ts1=TSERIES(n:1,START=c(2000,1),FREQ='D') ts1[5]=NA #print TSLAG TABIT(ts1,TSLAG(ts1,5))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.