Compute maximum or minimum of each row, or sort each row of a matrix, or a set of (equal length) vectors.
A numeric matrix or a set of numeric vectors (that are
column-wise bind together into a matrix with
matmax return a vector of length
matsort returns a matrix of dimension
dim(cbind(...)) with in each row of
matsort(x) is a lot faster than, e.g., '
x is tall (i.e.,
matsort simply calls
matorder returns a permutation which
rearranges its first argument into ascending order, breaking ties by
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.