A function to create matrix of lagged time series. Called by various functions.
A univariate time series.
The vector of time lags.
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).
A matrix of lagged abundances. The last column is the current
Lall, U. & Sharma, A. (1996) A nearest neighbor bootstrap for time series resampling. Water Resources Research, 32, 679-693. https://doi.org/10.1029/95wr02966
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.