[R] Correctly applying aggregate.ts()

Rich Shepard r@hep@rd @end|ng |rom @pp|-eco@y@@com
Sat Sep 8 16:43:27 CEST 2018


On Sat, 8 Sep 2018, Rui Barradas wrote:

> Like Bert said, your data is a data.frame so there is no need to call 
> aggregate.ts. Besides, R will call the right method so unless you want to 
> change the standard behaviour, it would be enough to call aggregate and let 
> the methods dispatch code to its job.

Rui,

   I have no excuse (and certainly no valid reason) for not calling aggregate
itself.

   <Exceptionlly well written tutorial deleted.>

> Hope this helps,

   Very much so. It has also strengthed my abilities to learn how to use
other functions new to me.

Best regards,

Rich




More information about the R-help mailing list