Re: [R] Matrix invert

2012-05-11 Thread R. Michael Weylandt
a[NROW(a):1, ] Michael On May 11, 2012, at 3:00 PM, Trying To learn again wrote: > I all, > > I have a matrix like this > > a= > > 1 4 > 2 7 > 3 6 > > > I want to create a new matrix > > b= > > 3 6 > 2 7 > 1 4 > > Anyone knows if there is a "reverse" function? > I can do it with loop

[R] Matrix invert

2012-05-11 Thread Trying To learn again
I all, I have a matrix like this a= 1 4 2 7 3 6 I want to create a new matrix b= 3 6 2 7 1 4 Anyone knows if there is a "reverse" function? I can do it with loops if no exits. [[alternative HTML version deleted]] __ R-help@r-project.org