Description Usage Arguments Details Value Author(s)

Replaces the elements of *X* with their rank in the column vector of
the distance matrix

1 | ```
rankmatrix(X, input = c("data", "dist"), use = "C")
``` |

`X` |
data, dist object, or distance matrix |

`input` |
type of input |

`use` |
if 'C' uses the compiled library, else uses the native R code |

Each column vector in the distance matrix (or the distance matrix computed from the input) is replaced by a vector indicating the rank of the distance inside that vector.

This is a computation step necessary for the co-ranking matrix and provided mainly so that the user has the possibility to save computation time.

returns a matrix of class `'rankmatrix'`

Guido Kraemer

coRanking documentation built on May 19, 2017, 7:41 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.