Re: [R] Sort an array

2009-09-07 Thread Mark Knecht
?order Possibly something like A = A[order(A$Field1, A$Field2),] On Mon, Sep 7, 2009 at 3:22 AM, OLIVIER REGNIER-COUDERT (0509785) wrote: >  Hi, > > Would anybody know how to sort an array in order? > > I basically store the results from an analysis in an array and would like to > organise it a

[R] Sort an array

2009-09-07 Thread OLIVIER REGNIER-COUDERT (0509785)
Hi, Would anybody know how to sort an array in order? I basically store the results from an analysis in an array and would like to organise it at the end of my loop with the lowest result at the index 1 and the highest result at the last index. Thanks. [[alternative HTML version dele