powered by
Convert an observation matrix to a vector of n-day displacements. This is a function for the toad example.
obsMat2deltax(X, lag)
A vector of displacements.
The observation matrix to be converted.
Interger, the number of day lags to compute the displacement.