[R-sig-Geo] How to make time interval from available temporal data.

Edzer Pebesma edzer.pebesma at uni-muenster.de
Mon Jun 15 10:42:18 CEST 2015


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:
> 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
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi),  University of Münster,
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 33081
Journal of Statistical Software:   http://www.jstatsoft.org/
Computers & Geosciences:   http://elsevier.com/locate/cageo/
Spatial Statistics Society http://www.spatialstatistics.info

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20150615/5ae6a72c/attachment.bin>


More information about the R-sig-Geo mailing list