I seem to be missing something here:
given a set X:{a,b,c,whatever...}
the mathematical definition of 'permutation' is the set of all possible
sequences of the elements of X.
The definition of 'combination' is all elements of 'permutation' which
cannot be re-ordered to become a different element.
example: X:{a,b,c}
perm(X) = ab, ab, bc, ba, ca, cb
comb(X) = ab, ac, bc
So maybe a better question for this mailing list is: Are there
functions available in any R package which produce perm() and comb()
(perhaps as well as other standard combinatoric functions) ?
Carl
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.