Displaying 2 results from an estimated 2 matches for "pl_sum".
2009 Aug 31
1
Google style
Since I read digests, and don't read mail on weekends, I come to this
discussion late. It was very entertaining.
I only wish to comment on 2 points. The first is Henrich's (I
believe) one that trying to convert an old-time user to new styles is
futile. I agree wholeheartedly. As proof I offer the survival suite
--anyone who peruses it will notice a different indentation rule for
2009 Aug 28
2
new data.frame summed by date
Hi,
I wonder if someone can suggest how to create a new data.frame Y
from X where X$PL_Pos is summed by each unique X$MyDate. Y should end
up with two (or more) columns Y$MyDate and Y$PL_Sum with its value
being the cumsum of all the values in X for that date. - a 'daily
cumsum'.
Thanks,
Mark
TStoDate = function (TSDate) {
X = strptime(TSDate + 19e6L, "%Y%m%d")
return(as.Date(X))
}
X = structure(list(EnDate = c(1090803,
1090804, 1090805, 1090806, 1090806, 109081...