Description Usage Arguments Value Examples
This function returns, given a matrix, the ranking of the colums in each row.
1 | rankMatrix(data, decreasing = TRUE, ...)
|
data |
The matrix to rank. |
decreasing |
Logical value indicating whether the top ranked has to be the highest value or not. |
... |
Not used |
A matrix containing the per-row rankings. In case of ties, the mean rank is obtained (e.g, if there is a tie between the 4th and the 5th column, both are assigned a mean rank of 4.5)
1 2 | data(data_gh_2008)
rankMatrix(data.gh.2008)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.