[R] invert order

Sebastian Kruk residuo.solow at gmail.com
Wed Sep 1 16:56:45 CEST 2010


Dear R-help list users,

I have a huge vector of numbers, how I can invert orden?

For example

x <- 1:10000000

I would like to obtain

x_r <- 10000000:1

Thanks,

Sebastian.



More information about the R-help mailing list