[R] How to find series of small numbers in a big vector?

Vladimir Eremeev wl2776 at gmail.com
Tue Jan 30 12:34:34 CET 2007


I would try using na.contiguos from package stats.

R.utils has seqToIntervals.defaul, 
which "Gets all contigous intervals of a vector of indices".

(I didn't use the latter, help.search("contiguous") gave me that name).
-- 
View this message in context: http://www.nabble.com/-R--How-to-find-series-of-small-numbers-in-a-big-vector--tf3141691.html#a8707709
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list