Utility function

A function to create matrix of lagged time series. Called by various functions.

1 | ```
mkx(x, lags)
``` |

`x` |
The univariate time series. |

`lags` |
The vector of 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

Upmanu Lall

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.