[R] Matrix in a Reverse order

2010-02-18 Thread Amelia Livington
Dear 'R' friends I have a sort of stupid question to ask. I have a matrix say of the order 4 X 3 as 83    98    90 21    83    84 70    39    56 65    29    38 Is there any command in R which will reverse the order i.e. I need to have same 4 X 3 matrix but as given below 65    29    38 70   

Re: [R] Matrix in a Reverse order

2010-02-18 Thread Benilton Carvalho
x[nrow(x):1,] b On Thu, Feb 18, 2010 at 11:45 AM, Amelia Livington amelia_living...@yahoo.com wrote: Dear 'R' friends I have a sort of stupid question to ask. I have a matrix say of the order 4 X 3 as 83    98    90 21    83    84 70    39    56 65    29    38 Is there any command in