Take a look at "filter" for doing a moving average.
On Jan 24, 2008 6:48 AM, Jamie Ledingham
<[EMAIL PROTECTED]> wrote:
> I have a time series of rainfall in a dataframe. I would like to be
> able to aggregate this using a sliding window approach- i.e. a new 24
> hourly total is calculated for ea
I have a time series of rainfall in a dataframe. I would like to be
able to aggregate this using a sliding window approach- i.e. a new 24
hourly total is calculated for each hours rainfall. I'm struggling to
understand how this might be achieved - currently I've tried looping a
sum function to re
2 matches
Mail list logo