Re: [R] aggregation question

2011-07-08 Thread Jim Lemon
Dr Eberhard Lisse wrote: > Hi, > > I am reading payment data like so > > 2010-01-01,100.00 > 2010-01-04,100.00 > ... > 2011-01-01,200.00 > 2011-01-07,100.00 > > and plot it aggregated per month like so > > library(zoo) > df <- read.csv("daily.csv", colClasses=c(d="Date",s="numeric")) > z <- zoo(d

Re: [R] aggregation question

2011-07-07 Thread Gabor Grothendieck
On Thu, Jul 7, 2011 at 5:41 AM, Dr Eberhard Lisse wrote: > Hi, > > I am reading payment data like so > > 2010-01-01,100.00 > 2010-01-04,100.00 > ... > 2011-01-01,200.00 > 2011-01-07,100.00 > > and plot it aggregated per month like so > > library(zoo) > df <- read.csv("daily.csv", colClasses=c(d="D