[R] r: LEXICOGRAPHIC ORDERING

Clark Allan Allan at STATS.uct.ac.za
Fri May 27 15:24:05 CEST 2005


HI all

i have a seemingly simple question.

given a sequence of numbers say, 1,2,3,4,5.

i would like to get all of the possible two number arrangments
(combinations), all 3 number arrangents ... 5 number arrangements
(combinations).

i.e. 

in the 2 number case:

12,13,14,15,23,24,25,34,35,45



any ideas?


More information about the R-help mailing list