powered by
Rank aggregation with the Borda count method
borda_count(R, v = NULL)
Vector with aggregated ranking
matrix with rankings
vector of votes for each ranking
Pedro Guarderas pedro.felipe.guarderas@gmail.com
m <- 10 n <- 5 R <- matrix( runif( m * n ), m, n ) v <- sample( 50:100, n ) r <- borda_count( R, v )
Run the code above in your browser using DataLab