Re: [R] ggplot2 applying a function based on facet

2009-10-05 Thread David Winsemius
On Oct 5, 2009, at 10:45 PM, stephen sefick wrote: Sorry, I want the cumsum of precipitation by gauge name. that can then be used with the appropriate datetime stamp to pot a cumulative rainfall plot. I dunno. Here is what I get when I extract the data-gathering part of that extended funct

Re: [R] ggplot2 applying a function based on facet

2009-10-05 Thread stephen sefick
Sorry, I want the cumsum of precipitation by gauge name. that can then be used with the appropriate datetime stamp to pot a cumulative rainfall plot. On Mon, Oct 5, 2009 at 9:03 PM, David Winsemius wrote: > > On Oct 5, 2009, at 9:39 PM, stephen sefick wrote: > >> Look at the bottom of the message

Re: [R] ggplot2 applying a function based on facet

2009-10-05 Thread David Winsemius
On Oct 5, 2009, at 9:39 PM, stephen sefick wrote: Look at the bottom of the message for my question #here is a little function that I wrote USGS <- function(input="discharge", days=7){ library(chron) library(gsubfn) #021973269 is the Waynesboro Gauge on the Savannah River Proper (SRS) #02102908

[R] ggplot2 applying a function based on facet

2009-10-05 Thread stephen sefick
Look at the bottom of the message for my question #here is a little function that I wrote USGS <- function(input="discharge", days=7){ library(chron) library(gsubfn) #021973269 is the Waynesboro Gauge on the Savannah River Proper (SRS) #02102908 is the Flat Creek Gauge (ftbrfcms) #02133500 is the D