safeMatrixStats | R Documentation |
Compute matrix statistics selecting the appropriate function depending on the matrix class of the input (supports sparse matrices and DelayedArrays)
safeMatrixStats(X, statFun = "rowSums", ...)
X |
input matrix |
statFun |
statistic. E.g. |
... |
arguments passed on to the matrix stats function. E.g. |
result of the corresponding matrix statistic
Fabian Mueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.