Skip to content

How to make time interval from available temporal data.

2 messages · Iztirab Hussain, Edzer Pebesma

#
Hi?I am new here, so may be my problem is quite typical.
I have 16 years daily precipitation data and want to convert it into 15 days and 3 months interval.Anyone would like to share me the source code and appropriate package name?
Regards
Iztirab
#
I would recommend looking into packages zoo, and maybe xts, and their
aggregate methods:

library(zoo)
example(aggregate.zoo)

has an example aggregating daily data to quarterly data.
On 06/15/2015 10:34 AM, Iztirab Hussain via R-sig-Geo wrote: