Combinatorica`
Combinatorica`

RandomKSubset

RandomKSubset[l,k]

gives a random subset of set l with exactly k elements.

Details and Options