compatible.rankings: Set of compatible rankings

Description Usage Arguments Value Author(s) Examples

Description

This function generates the set of complete permutations compatible with the input_ranking.

Usage

1
compatible.rankings(input_ranking)

Arguments

input_ranking

a vector, using NAs to stand for the missing ranks

Value

a matrix or a vector, each column is a complete ranking.

Author(s)

Li Qinglong <liqinglong0830@163.com>

Examples

1
2
3
u_star = c(2, NA, 3, 4, 1)
C_set = compatible.rankings(u_star)
is.compatible(C_set, u_star)

StatMethRank documentation built on Jan. 15, 2017, 8:59 p.m.