Description Usage Arguments Details Value
View source: R/DataConversionFunctions.R
Find the row maximums in a sparse matrix.
1 | RowMaxes(smat)
|
smat |
A sparse matrix. |
The argument smat
is expected to be of type "dgCMatrix".
This condition should hold mean( names( RowMaxes(smat) ) == rownames(smat) ) == 1
.
A numeric vector with named elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.