Hey again,

I didn't wat questions to get mangled up, so here's my second email.

In matlab, there is the simple possibility to access colums x till last of a 
matrix using
mydata(1:3, 5:end).

In R, I so far use
mydata[1:3, 5:ncol(mydata)]

Is there a faster way? (in terms of typing)

Thanks ahead,
Berry

-------------------------------------
Berry Boessenkool
University of Potsdam, Germany
-------------------------------------
                                          
______________________________________________
[email protected] 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.

Reply via email to