[R] How to select not continous rows?

skan juanpide at gmail.com
Wed Oct 20 15:25:25 CEST 2010


Hello

How can I select several not continuous rows ?

If I wanted to select rows 1 to 7 I'll write
mydata[,1:7]

But what if I need to select rows 1 to 5 and 10 to 15?


-- 
View this message in context: http://r.789695.n4.nabble.com/How-to-select-not-continous-rows-tp3003840p3003840.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list