Does anyone know of an R (or S-PLUS) function for delineating all possible combinations and permutations? That is, for set (1,2,3) 3_C_2 = {1,2} {1,3} {2,3} Thanks, ******************************************************* Niels Waller, Ph.D. Director of Quantitative Methods and Evaluation Department of Psychology and Human Development Vanderbilt University Phone: (615) 322-8380 email: niels.waller at vanderbilt.edu QME Home page: http://www.vanderbilt.edu/quantmetheval/ ******************************************************* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._