[R] MAtrix addressing

Alaios alaios at yahoo.com
Tue Jan 25 22:50:44 CET 2011


Hello
I would like to ask you if it is possible In R Cran to change the default way of addressing a matrix.
for example
matrix(data=seq(from=1,to=4,nrow=2,ncol=2, by row numbering) # not having R at this pc

will create something like the following
1 2
3 4

the way R address this matrix is from top left corner moving to bottom right.
The cell numbers in that way are 
1 2
3 4

IS it possible to change this default addresing number to something that goes bottom left to top right? In this simple case I want to have
3 4
1 2

Would that be possible?

I would like to thank y for your help
Regards
Alex



More information about the R-help mailing list