[R] Matlab end operator

Markus Loecher loecher at eden.rutgers.edu
Wed Jun 27 19:25:30 CEST 2007


Dear list members,
I use both R and Matlab and find that each has its own strengths. Matlab definitely has the edge when it comes to the interactivity of its graphs.
In addition I find the little operator end extremely useful in indexing arrays. (as in x(1:end,) )
The notation is MUCH more cumbersome in R using nrow() and ncol() recursively (as in x[1:nrow(x), ] ).
Is there a package that might contain an implementation of the end operator ?

Thanks !

Markus



More information about the R-help mailing list