Re: [R] as.day() Function (zoo question)

2008-09-22 Thread stephen sefick
perfect thanks On Mon, Sep 22, 2008 at 1:07 PM, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > chron values are represented as day + fraction of a day so: > try this: > > aggregate(z, floor, mean) > > On Mon, Sep 22, 2008 at 12:56 PM, stephen sefick <[EMAIL PROTECTED]> wrote: >> I am was going to

Re: [R] as.day() Function (zoo question)

2008-09-22 Thread Gabor Grothendieck
chron values are represented as day + fraction of a day so: try this: aggregate(z, floor, mean) On Mon, Sep 22, 2008 at 12:56 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > I am was going to look at the as.yearmon function in the zoo package > and write a as.day function to aggregate a time seri

[R] as.day() Function (zoo question)

2008-09-22 Thread stephen sefick
I am was going to look at the as.yearmon function in the zoo package and write a as.day function to aggregate a time series of 96 observations per day into the mean for each day, but I don't know how to look at the code so that I can convert it into something I can use. On top of that I believe th