Displaying 1 result from an estimated 1 matches for "dftag".
Did you mean:
  d_tag
  
2009 Jan 12
3
roll weekly data to monthly level
Dear R users:
I have a data set that looks something like this:
ID    time           y
1    2/01/2008    4
1    2/09/2008    12
1    9/01/2008    8
2    1/06/2008    3
2    3/01/2008    4
2    3/09/2008    9
2    6/03/2008    4
3    1/02/2008    3
3    1/10/2008    8
3    2/02/2008    7
3    2/10/2008    3
I'd like to sum up the weekly data to the monthly level, so that it looks
something