Description Usage Arguments Value Author(s) Examples
This function judges whether the complete rangkings are compatible with an incomplete ranking.
1 | is.compatible(complete_ranking, candidate_ranking)
|
complete_ranking |
a matrix or a vector, each column is a complete ranking. |
candidate_ranking |
a vector, using NA to stand for the missing ranks. |
a vector of TRUEs and FALSEs
Li Qinglong <liqinglong0830@163.com>
1 2 3 | u_star = c(2, NA, 3, 4, 1)
C_set = compatible.rankings(u_star)
is.compatible(C_set, u_star)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.