I'm trying to reverse the order of the rows from the matrix m, so instead of getting this like in the following:
n <- rbind(m)
n
[,1] [,2] [,3] [,4] [,5]
[1,] 1 2 3 4 5
[2,] 6 7 8 9 10
[3,] 11 12 13 14 15
[4,] 16 17 18 19 20
[5,] 21 22 23 24 25
I want to get this instead:
[,1] [,2] [,3] [,4] [,5]
[5,] 21 22 23 24 25
[4,] 16 17 18 19 20
[3,] 11 12 13 14 15
[2,] 6 7 8 9 10
[1,] 1 2 3 4 5
Thanks for your help! Still learning the basics!