mkx: Utility function

Description Usage Arguments Details Value Author(s)

View source: R/nlts.R

Description

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

Usage

1
    mkx(x, lags)

Arguments

x

The univariate time series.

lags

The vector of lags.

Details

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).

Value

A matrix of lagged abundances. The last column is the current

Author(s)

Upmanu Lall


nlts documentation built on May 19, 2017, 8:46 p.m.

Search within the nlts package
Search all R packages, documentation and source code

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

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

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