[R] aggredating date data

analyst41 at hotmail.com analyst41 at hotmail.com
Wed Jan 12 21:20:41 CET 2011


I tried a date by date forecast of a time series and it seems to be
too wild.  How can I aggregate the date into weeks or months as
required?

Thanks.

The input looks like

ID datadate("YYYY-MM-DD")  value_for_day
--     -----                                -------
--     ------                               --------

and I want to be able to change it to

ID dataweek value_for_week

or

ID datamonth value_ for_ month



More information about the R-help mailing list