Hi Petr,
Thanks for the explanation below. 
I tried the code you supplied however it seems as my date is a factor hence
it is not working.
The error I got from the code was :

Error: unexpected symbol in:
"final<-aggregate(test$CHG_WT,list(format(test$CR_DT,"%d"),sum)
final"

str(test$CR_DT)- gives Factor with 31 levels 



--
View this message in context: 
http://r.789695.n4.nabble.com/Summarizing-data-based-on-Date-tp4708328p4708333.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to