[R] aggregate with cummax ??

skan juanpide at gmail.com
Fri Aug 20 17:38:40 CEST 2010


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??

-- 
View this message in context: http://r.789695.n4.nabble.com/aggregate-with-cummax-tp2331991p2332653.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list