rankLM: Rank aggregation using linear models

Description Usage Arguments Value

View source: R/rankLM.R

Description

Aggregate the ranking from triple comparisons into a consensus ranking using linear models.

Usage

1
rankLM(data, K = NA)

Arguments

data

a n * m matrix, where n is the number of observers and m is the number of items to rank; each row vector is a partial or complete ranking, with i-th element being the rank assined to item i; the entry where that item is not ranked in the partial ranking is replaced by 0

K

the additive relationship matrix; if provided, it will be used to specify the covariance structure of the linear model

Value

Return a list with two components:

ranks

a vector where the i-th element is the rank assigned to the i-th item.

ranking

a vector where the i-th element is the item ranked in the i-th place


shuxiaoc/agRank documentation built on May 29, 2019, 9:27 p.m.