[R] aggregating data with Zoo

Gabor Grothendieck ggrothendieck at gmail.com
Wed Mar 28 14:55:30 CEST 2007


Please read the last line on every post to r-help.

On 3/28/07, Alfonso Sammassimo <cincinattikid at bigpond.com> wrote:
> Is there a way of aggregating 'zoo' daily data according to day of week? eg
> all Thursdays
>
> I came across the 'nextfri' function in the documentation but am unsure how
> to change this so any day of week can be aggregated.
>
> I have used POSIX to arrange the data (not as 'zoo' series) according to day
> of week, but am curious if I've missed if a similar option available with
> zoo.
>
> Thank you for any help,
>
> Alf Sammassimo
> Melbourne, Australia
>
> ______________________________________________
> R-help at 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
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list