[R] sequences extraction

Bruno C. bruno.c at inwind.it
Fri Apr 20 10:23:21 CEST 2007


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
http://i-mode.wind.it/



More information about the R-help mailing list