RandomComposition[n, k] constructs a random composition of integer n into k parts.
RandomHeap[n] constructs a random heap on n elements.
RandomKSubset[l, k] gives a random subset of set l with exactly k elements.
RandomPartition[n] constructs a random partition of integer n.
RandomPermutation[n] generates a random permutation of the first n natural numbers.
RandomTableau[p] constructs a random Young tableau of shape p.
RandomTree[n] constructs a random labeled tree on n vertices.
RankPermutation[p] gives the rank of permutation p in lexicographic order.
RankRGF
(Combinatorica Package Symbol) RankRGF[f] returns the rank of a restricted growth function (RGF) f in the lexicographic order of all RGFs.
RankSubset[l, s] gives the rank, in canonical order, of subset s of set l.