minone | R Documentation |
Calculates the inverse of the sum of each row of a matrix or data frame.
minone(x, ...)
x |
A matrix or a data frame |
... |
Further arguments passed to or from other methods. |
A vector includes the inverse of the sum of each row in a matrix or data frame
Zeynel Cebeci & Erkut Tekeli
maxone
,
maxone1
,
maxone2
binmat = matrix(nrow=5, ncol=8, byrow=TRUE, c( 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 )) rownames(binmat) = paste0("C",1:5) minone(binmat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.