[R] about sorting
    Vladimir Eremeev 
    wl2776 at gmail.com
       
    Tue Jan 30 13:07:52 CET 2007
    
    
  
see ?order
ar2[,order(colnames(ar2))]
Federico Abascal wrote:
> 
> I have another question: how can I sort the columns of an array
> according to its column names (for ar2, change CAEB to ABCE)?
> 
-- 
View this message in context: http://www.nabble.com/-R--how-to-join-two-arrays-using-their-column-names-intersection-tf3141828.html#a8708259
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list