comb.all {EnviroStat} | R Documentation |
Function to enumerate all combinations of size 'k' from the set 1,.., n.
comb.all(n, k)
n |
number of elements in the set |
k |
number of elements to choose for each combination |
An (n-choose-k) by k matrix with one combination per row.
comb.all(5, 3)