Description Usage Arguments Value Author(s) Examples
The Cayley distance between two ranks x and y is the minimum number of transpositions required to transform the ranking x into y.
1 | distCayley(x, y)
|
x, y |
two ranks of size m. |
the Cayley distance between x and y.
Julien Jacques
1 2 3 | x <- 1:5
y <- c(2, 3, 1, 4, 5)
distCayley(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.