[R] Array reversed

From: Julio Thomas <julio_semprones_at_yahoo.co.uk>
Date: Fri 02 Dec 2005 - 15:43:47 EST


Dear R-helper,    

  Is there a command to get an array indexed 1 to T from T to 1?    

  For example:    

  a <- c(1, 2, 3)    

  and by applying such a command I can get    

  a[1] = 3
  a[2] = 2
  a[3] = 1 
   

  Thanks a lot and best regards
  Julio                 


        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Dec 02 15:50:40 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:26 EST