Re: [R] ZOO: Learning to apply it to my data

2011-09-13 Thread Rich Shepard
On Tue, 13 Sep 2011, Gabor Grothendieck wrote: In the example data there were no duplicate dates for a given param value. Gabor, There are duplicate dates for a given param value, but each is on a different stream. It is the triplet (stream, sampdate, param) that is associated with each val

Re: [R] ZOO: Learning to apply it to my data

2011-09-13 Thread Gabor Grothendieck
On Tue, Sep 13, 2011 at 7:36 PM, Rich Shepard wrote: > On Tue, 13 Sep 2011, Gabor Grothendieck wrote: > >> As in ?zoo a zoo object is a numeric matrix, numeric vector or factor >> together with an ordered time index which is unique. Its not clear that >> that is what you have; however, if we can a

Re: [R] ZOO: Learning to apply it to my data

2011-09-13 Thread Rich Shepard
On Tue, 13 Sep 2011, Gabor Grothendieck wrote: As in ?zoo a zoo object is a numeric matrix, numeric vector or factor together with an ordered time index which is unique. Its not clear that that is what you have; however, if we can assume that for each value of param we have a unique set of dates

Re: [R] ZOO: Learning to apply it to my data

2011-09-13 Thread Gabor Grothendieck
On Tue, Sep 13, 2011 at 2:07 PM, Rich Shepard wrote: >  I have read ?zoo but am not sure how to relate the parameters (x, > order.by, frequency, and style) to my data.frame. The structure of the > data.frame is > > 'data.frame':   11169 obs. of  4 variables: >  $ stream  : Factor w/ 37 levels "Bur