Re: [R] rearranging vectors

2007-10-11 Thread Benilton Carvalho
?rev On Oct 11, 2007, at 9:20 PM, [EMAIL PROTECTED] wrote: > Hi everyone > I have a vector that I want to modify. A simple eg of what i want > to do is below > I have a vector x > > x<-c(1,2,3,4) > > I want to change this vector or make a new one such that > > x<-c(4,3,2,1) > > Any help would

[R] rearranging vectors

2007-10-11 Thread Nigel . Walker
Hi everyone I have a vector that I want to modify. A simple eg of what i want to do is below I have a vector x x<-c(1,2,3,4) I want to change this vector or make a new one such that x<-c(4,3,2,1) Any help would be great. I just want to swap the order. Thanks _