thanks a lot for both tips! Robert, slowly but surely I understand the functionality of the calc functions :-) this opens endless possibilities... -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/spatial-time-series-tp6444907p6449592.html Sent from the R-sig-geo mailing list archive at Nabble.com.