to find the max sum not only from 1 to 2 pm but also 1:10 to 2:10 for different durations from 10 min data with R?

时间:2017-12-17 08:25:38

标签: r

My data is like this and for 2012-2016 Nepal

Date/Time YYYY                  Precipitation (mm)
2009/01/01 00:00                    0.00
2009/01/01 00:10                    0.00
2009/01/01 00:20                    0.00
2009/01/01 00:30                    0.00
2009/01/01 00:40                    0.00
2009/01/01 00:50                    0.00
2009/01/01 01:00                    0.00
2009/01/01 01:10                    0.00
2009/01/01 01:20                    0.00

I want to find what is the maximum, minimum rainfall for 30 min, 1 hour etc. but simple hourly sum (that is adding and finding sum of time 01:00 to 02:00) is not enough.

As I want to find maximum and minimum from all possible combinations of the desired duration (that is for above hourly maximum case, I also want to look at max from 0110 to 0210, 0130 to 0230 etc) please help

thanks

0 个答案:

没有答案