Rdocumentation
powered by
Learn R Programming
PANICr (version 1.0.0)
mydiff: Difference a matrix
Description
This function differences an entire matrix by some defined constant k.
Usage
mydiff(x,k)
Arguments
x
The matrix to be differenced.
k
An integer of the length of difference to perform on each vector of the NxT matrix.
Value
xx A matrix that has been differenced k times.