[R] How to find the index

Peng Jiang jp021 at sjtu.edu.cn
Tue Sep 16 17:04:36 CEST 2008

  Dear R experts,

   i have a vector z , i have to do something after z is sorted. how  
can i find the original index, i.e., before sorting, of a certain  
element in the sorted vector  .
  thanks in advance

Peng Jiang 江鹏 ,Ph.D. Candidate
Antai College of Economics & Management
Department of Mathematics
Shanghai Jiaotong University (Minhang Campus)
800 Dongchuan Road
200240 Shanghai
P. R. China

More information about the R-help mailing list