Learn R Programming

TopKLists (version 1.0.8)

Borda: Borda based rank aggregation

Description

Computes Borda scores and ranks based on four different aggregation functions.

Usage

Borda(input, space = NULL, k = NULL)

Value

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

Arguments

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.

Author

Shili Lin <shili@stat.osu.edu>

Details

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.

References

Lin, S. (2010). Space oriented rank-based data integration. Statistical Applications in Genetics and Molecular Biology 9, Article 20.

See Also

geo.mean, l2norm

Examples

Run this code
#get sample data
data(TopKSpaceSampleInput)

outBorda=Borda(input,space) #underlying space-dependent
outBorda1=Borda(input,space=input) #top-k spaces

Run the code above in your browser using DataLab