Learn R Programming

nlts (version 0.1-9)

mkx: Utility function

Description

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

Usage

mkx(x, lags)

Arguments

Value

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

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