[R] ggplot cumsum refined question (?)
sas0025 at auburn.edu
Tue Oct 6 17:13:17 CEST 2009
The date time stamp is not the same?
On Tue, Oct 6, 2009 at 9:31 AM, hadley wickham <h.wickham at gmail.com> wrote:
>> It is much easier to do you data preparation before plotting.
>> Cummul <- ddply(subset(DF, precipitation!="NA"), "gauge_name",
>> x$Cummul <- cumsum(x$precipitation)
> With a little less typing:
> Cummul <- ddply(subset(DF, precipitation!="NA"), "gauge_name", transform,
> Cummul = cumsum(precipitation))
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
More information about the R-help