[R] Question about Aggregate

From: Matthieu Cornec <matthieu.cornec_at_gmail.com>
Date: Wed 25 Jan 2006 - 21:38:04 EST


hello,

Suppose you a monthly series you want to aggregate at a quaterly frequency with the start and the end of your series in the middle of the quarter. For example
 2001M2 2001M3 2001M4 2001M5 2001M6 2001M7

12                  13     12      14         16              15

how can you get something like :
2001Q1 2001Q2 200Q3
NA 14 NA

or
 2001Q1 2001Q2 200Q3
12.5 14 15

Thanks in advance

Matthieu

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jan 25 21:52:05 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:10 EST