Re: [R] Split rows depending on time frame

2010-10-11 Thread Gabor Grothendieck
On Mon, Oct 11, 2010 at 5:25 AM, Bert Jacobs wrote: > Hi, > > > > I have the following data frame, where col2 is a startdate and col3 an > enddate > > > > COL1      COL2      COL3 > > A             40462    40482 > > B             40462    40478 > > > > The above timeframe of 3 weeks I would like

Re: [R] Split rows depending on time frame

2010-10-11 Thread ONKELINX, Thierry
oes not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey > -Oorspronkelijk bericht- > Van: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] Namens Bert Jacobs > Verzonden: maandag 11 oktober 2010 11:26 > Aan: r

[R] Split rows depending on time frame

2010-10-11 Thread Bert Jacobs
Hi, I have the following data frame, where col2 is a startdate and col3 an enddate COL1 COL2 COL3 A 4046240482 B 4046240478 The above timeframe of 3 weeks I would like to splits it in weeks like this COL1 COL2 COL3 COL4 A