powered by
A function to create matrix of lagged time series. Called by various functions.
mkx(x, lags)
The univariate time series.
The vector of lags.
A matrix of lagged abundances. The last column is the current
If lags is c(1,4), say, then the function returns a matrix that consist of columns x(t-1), x(t-4), x(t).
c(1,4)