Re: [R] aggregating specific parts in zoo index column to perform sliding average

2012-02-28 Thread knavero
Thanks Gabor. Answering all my noob questions haha. Interesting strategy to adjust the input raw data as opposed to Excel where one offsets the output data instead. I'll remember that. -- View this message in context: http://r.789695.n4.nabble.com/aggregating-specific-parts-in-zoo-index-column-to

Re: [R] aggregating specific parts in zoo index column to perform sliding average

2012-02-28 Thread Gabor Grothendieck
On Mon, Feb 27, 2012 at 10:17 PM, knavero wrote: > Here's my code: > > http://pastebin.com/0yRxEVtm > > The important parts are uncommented and should be easy to find using the > link above. For the following line of code, I plan on looking for a way to > offset it up 7 rows so that the 15 minute

[R] aggregating specific parts in zoo index column to perform sliding average

2012-02-27 Thread knavero
Here's my code: http://pastebin.com/0yRxEVtm The important parts are uncommented and should be easy to find using the link above. For the following line of code, I plan on looking for a way to offset it up 7 rows so that the 15 minute timestamp would be considered the "median" of the subset being