Skip to content

an S idiom for ordering matrix by columns?

4 messages · jim holtman, Gustaf Rydevik, Aaron Mackey

#
How about this:
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
 [1,]    0    0    1    0    0    1    1    0    0     1
 [2,]    0    0    1    0    1    0    1    1    1     1
 [3,]    0    1    0    1    0    1    1    1    1     1
 [4,]    0    1    0    1    1    0    0    0    0     1
 [5,]    1    0    1    0    0    0    0    1    0     0
 [6,]    1    0    1    1    0    0    0    1    0     0
 [7,]    1    0    1    1    0    1    1    1    0     1
 [8,]    1    1    0    0    0    1    0    1    1     0
 [9,]    1    1    0    0    1    1    1    1    0     0
[10,]    1    1    0    1    0    1    1    0    1     0
On Thu, Feb 19, 2009 at 11:40 AM, Aaron Mackey <ajmackey at gmail.com> wrote:

  
    
#
On Thu, Feb 19, 2009 at 5:40 PM, Aaron Mackey <ajmackey at gmail.com> wrote:
You mean something like this:
?

Regards,

Gustaf