Skip to content
Prev 155136 / 398513 Next

binary order combinations

Sorry,

I misread it first. I tried:

library(quantreg)
 test.combos<-lapply(1:15,function(x)
 {combos(15,x)
 })

It gives me a list with an order that is somewhat different from
before, but I am not sure it helps me much:

[[1]]
     [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14]
[1,]    1    2    3    4    5    6    7    8    9    10    11    12    13    14
     [,15]
[1,]    15

[[2]]
     [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14]
[1,]    1    1    1    1    1    1    1    1    1     1     1     1     1     1
[2,]    2   15   14   13   12   11   10    9    8     7     6     5     4     3
     [,15] [,16] [,17] [,18] [,19] [,20] [,21] [,22] [,23] [,24] [,25] [,26]
[1,]     2     2     2     2     2     2     2     2     2     2     2     2
[2,]     3    15    14    13    12    11    10     9     8     7     6     5


Dimitri
On 9/5/08, roger koenker <rkoenker at uiuc.edu> wrote: