Description Usage Arguments Value Author(s) See Also Examples
Spearman's footrule is a measure for distance between ranked lists. It is given as the sum of absolute differences between ranks of two lists. Here a modified version is implemented that allows for comparing partial lists.
1 | Spearman(rank.a, rank.b, k.a, k.b, n)
|
rank.a |
A single top-k list |
rank.b |
A vector of matrix form of top-k list(s) to be compared to the list |
k.a |
Value of |
k.b |
Value of |
n |
Total number of objects, numbered from 1 to n |
Returns modified Spearman distance against a
for each lists within b
Jie Ding <jding@jimmy.harvard.edu>
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.