ISIranks: ISI ranks

View source: R/ISIranks.R

ISIranksR Documentation

ISI ranks

Description

ISI ranks

Usage

ISIranks(x, sortbyID = TRUE)

Arguments

x

a list of matrices, with the same column names, typically the output of ISI

sortbyID

logical, should the output be sorted by ID (default is TRUE). If FALSE, output is sorted by (average rank)

Details

if there is more than one solution resulting from ISI, average (mean) ranks will be calculated. If there is only one solution, the average rank will be the same as the rank from the (one) ISI ranking

Value

a data.frame with at least three columns: IDs, their average rank and the rankings of all rankings that satisfy ISI's minimum criteria

Examples

# no unique solution
data(adv)
mat <- creatematrix(winners = adv$winner, losers = adv$loser)
set.seed(123)
res <- ISI(mat)
ISIranks(res)
ISIranks(res, sortbyID = FALSE)

# only one (and unique) solution
data(bonobos)
set.seed(123)
res <- ISI(bonobos)
ISIranks(res)
ISIranks(res, sortbyID = FALSE)

gobbios/EloRating documentation built on July 19, 2024, 4:05 a.m.