Description Usage Arguments Value
View source: R/rankings_comparison.R
Compares two rankingDE
by computing their kendall's tau from package VGAM
.
1 2 | kendall(ranking1, ranking2, nmax = min(dim(ranking.df(ranking1))[1],
dim(ranking.df(ranking2))[1]))
|
ranking1 |
a first |
ranking2 |
a second |
nmax |
integer, design the last elemtns where to stop the comparison (default is the minimum length of the two rankings). @details Kendall's tau is basically the number of permutation between the ranks of the elements of two rankings : tau = ((number of concordant pairs) - (number of discordant pairs))/N |
returns Kendall's tau.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.