[R] Subsetting data systematically

gibberish nathan.bendik at ci.austin.tx.us
Thu Jun 23 01:05:08 CEST 2011


I would like to subset data from a larger dataset and generate a smaller
dataset.  However, I don't want to use sample() because it does it randomly. 
I would like to take non-random subsamples, for example, every 2nd number,
or every 3rd number.  Is there a procedure that does this? 

Thanks, Nate

--
View this message in context: http://r.789695.n4.nabble.com/Subsetting-data-systematically-tp3618516p3618516.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list