[R-sig-Geo] How to compute an average year on time series ?
edzer.pebesma at uni-muenster.de
Thu Jun 27 12:34:10 CEST 2013
Given your data are in obj, did you try
mean.yrs = aggregate(obj, "year", mean)
On 06/27/2013 10:56 AM, Nicolas Bories wrote:
> Dear all,
> I'm working on EVI-MODIS time series with the R package spacetime.
> I have 10 years of data. I want to compute an average year for each pixel.
> How can I do this ?
> The goal is to compare for each pixel and for specific years the
> EVI-MODIS variations and average year variations.
> I saw the method aggregate(x, by, FUN = mean, ..., simplify = TRUE) but
> I didn't manage to get an average year.
> Thanks in advance for any suggestions !
> [[alternative HTML version deleted]]
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
83 33081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de
More information about the R-sig-Geo