Description Usage Arguments Value Author(s) References Examples
The Kendall distance between two ranks is the number of pairs that are in different order in the two ranks.
1 | distKendall(x, y, type = "ordering")
|
x, y |
two ranks of size m. |
type |
type of the rank representation ("ordering" ou "ranking"). |
an integer, the Kendall distance between x and y.
Julien Jacques
A New Measure of Rank Correlation, M. G. Kendall
1 2 3 | x <- 1:5
y <- c(2, 3, 1, 4, 5)
distKendall(x, y, type = "ordering")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.