search for: avgcool

Displaying 1 result from an estimated 1 matches for "avgcool".

Did you mean: augtool
2012 Feb 28
1
aggregating specific parts in zoo index column to perform sliding average
...RxEVtm 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 averaged to find the mean: avgCool = aggregate(intCool, trunc(time(intCool), times("00:15:00")), mean) Currently the issue is that, with the truncate function, it "truncates" but really rounds down the time series values to the 15 minute time stamp earlier in the series. For example, let's say we have one mi...