Displaying 3 results from an estimated 3 matches for "msg130580".
2011 Jul 22
1
Summing values by weekday and weekend - based on daily dates
...y value
2010-05-29 weekend 0.5225
2010-05-31 weekday 2.2352
...
2010-07-05 weekday 3.xxxx
2010-07-10 weekend 0.8005
The closest I find is
http://www.mail-archive.com/r-help@r-project.org/msg130580.html
But this one only summing values in each week, it does not sum values by weekday and weekend. I have been thinking of using functions such as aggregate, ddply, but without a clue. Anybody who can give some suggestions will be highly appreciated. Thanks!
Yinghua
[[alternative HTML version d...
2011 Jul 22
1
Summing daily values by weekday and weekend
...value
2010-05-29 weekend 0.5225
2010-05-31 weekday 2.2352
?
2010-07-05 weekday 3.xxxx
2010-07-10 weekend 0.8005
The closest I find is
http://www.mail-archive.com/r-help at r-project.org/msg130580.html
But this one only summing values in each week, it does not sum values by weekday and weekend. I have been thinking of using functions such as aggregate, ddply, but without a clue. Anybody who can give some suggestions will be highly appreciated. Thanks!
Yinghua
2011 Jul 22
0
Summing values by weekday and weekend
...day value
2010-05-29 weekend 0.5225
2010-05-31 weekday 2.2352
…
2010-07-05 weekday 3.xxxx
2010-07-10 weekend 0.8005
The closest I find is
http://www.mail-archive.com/r-help@r-project.org/msg130580.html
But this one only summing values in each week, it does not sum values by weekday and weekend. I have been thinking of using functions such as aggregate, ddply, but without a clue. Anybody who can give some suggestions will be highly appreciated. Thanks!
Yinghua
[[alternative HTML version d...