[R] sequences extraction

Bruno C.
Fri, 20 Apr 2007 08:23:21 -0000

Hello,

I need to extract sequences from an ordered vector.
For example, if
a<-c(1,2,3,6,10,11,13)
I need to get the followings 4 vectors
(1,2,3),(6),(10,11),(13)

Thank You
-Bruno


------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode? di Wind