[R] aggregate with cummax ??

Gabor Grothendieck ggrothendieck at gmail.com
Fri Aug 20 19:30:44 CEST 2010


On Fri, Aug 20, 2010 at 11:38 AM, skan <juanpide at gmail.com> wrote:
>
> Hi
>
> Just in case somebody could be interested I've found that
>
> unlist(lapply(split(mydata,as.Date), cummax))
>
> could make the job
> but I don't know if it's the proper way if I want to use zoo objects.
>
> Any suggestion??
>

See help(aggregate.zoo)



More information about the R-help mailing list