View source: R/rating_methods.R
borda_count | R Documentation |
Rank aggregation with the Borda count method
borda_count(R, v = NULL)
R |
matrix with rankings |
v |
vector of votes for each ranking |
Vector with aggregated 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 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.