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 mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
  • [R] Matrix invert Trying To learn again

Reply via email to