Description Usage Arguments Value Examples
Compute max and which.max for columns of a sparse matrix
1 | getColMax(x, cols)
|
x |
sparse matrix |
cols |
column indices |
dense matrix with two columns: max and which.max
1 | getColMax(sparseMatrix(i=1,j=2,x=9), 1:2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.