Borda | R Documentation |
Computes Borda scores and ranks based on four different aggregation functions.
Borda(input, space = NULL, k = NULL)
input |
A list containing individual ranked lists. |
space |
A list containing the underlying spaces. If not explicitly specified, all lists are treated as coming from a common space defined by the union of all input lists. |
k |
An integer specifying the number of items in the output top-k list. |
Computes Borda scores and ranks based on four different aggregation functions, in which the underlying spaces, where the individual ranked lists come from, are taken into account. The four aggregation functions are mean, median, geometric mean, and L2 norm.
A list with two components:
TopK |
A matrix with 4 columns each corresponding to the rankings by each of the 4 aggregation functions. |
Scores |
A matrix with 4 columns each corresponding to the Borda scores from each of the 4 aggregation functions |
Shili Lin <shili@stat.osu.edu>
Lin, S. (2010). Space oriented rank-based data integration. Statistical Applications in Genetics and Molecular Biology 9, Article 20.
geo.mean, l2norm
#get sample data data(TopKSpaceSampleInput) outBorda=Borda(input,space) #underlying space-dependent outBorda1=Borda(input,space=input) #top-k spaces
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.