Learn R Programming

matrixStats (version 0.8.5)

rowDiffs: Calculates difference for each row (column) in a matrix

Description

Calculates difference for each row (column) in a matrix.

Usage

rowDiffs(x, ...)
 colDiffs(x, ...)

Arguments

x
...
Not used.

Value

See Also

Internally diff() is used.