[R] subsetting of a data.frame

culpritNr1 ig2ar-saf1 at yahoo.co.uk
Thu May 21 18:06:00 CEST 2009


Hello everybody

How do you subset a data.frame when your boundaries are a combination of
explicit and implicit limits?

For example, I need to subset from the fourth (explicit) to the last
(implicit) column a data.frame named A.

In other languages you would do A[ , 4:]. Would anybody show me the R's way?

Thank you,

Your culprit


-- 
View this message in context: http://www.nabble.com/subsetting-of-a-data.frame-tp23655883p23655883.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list