incomplete.rankings: Generate all incomplete rankings of k elements out of n complete elements
Description
This function generates all the possible incomplete rankings of
k elements out of n complete elements. E.g. c(1, 2, NA) is an
incomplete ranking out with 2 non-missing elements of 3 elements
Usage
incomplete.rankings(n, k)
Arguments
n
number of complete elements
k
number of non-missing elements in the incomplete ranking
Value
a matrix each of whose column is a possible incomplete ranking