incomplete.rankings: Generate all incomplete rankings of k elements out of n...

Description Usage Arguments Value Author(s) Examples

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

1

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

Author(s)

Li Qinglong <liqinglong0830@163.com>

Examples

1

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