Is there a function in R that will give all combination levels. For example, I see there is a "choose" function that gives
>choose(5,2) 10
but I want
1 2
1 3
1 4
1 5
2 3
2 4
2 5
3 4
3 5
4 5This is a simple example. Actually I would like to do something like 10 choose 4.
Paul
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
