[R] MAtrix addressing

David Winsemius dwinsemius at comcast.net
Wed Jan 26 03:54:24 CET 2011


On Jan 25, 2011, at 4:50 PM, Alaios wrote:

> 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?

Yes. it's possible but ... why?

>
> I would like to thank y for your help
> Regards
> Alex
>
> ______________________________________________
> R-help at 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.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list