[EMAIL PROTECTED] wrote on 17/06/2004 13:10:35:

> Hi all
>
> I have a vector like this
>
> 2003 2002 2001 2000 1999 1998 1997 1996
>  106   105  106   106    105   106   101   107
>
> How can I get it sorted right(1996....2003)?

> rev(1:4)
[1] 4 3 2 1

HTH,
Tobias

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to