[R] Running mean for spatial data

Roger Bivand Roger.Bivand at nhh.no
Mon Sep 29 14:55:28 CEST 2008


Isaac Tetteh <kowtet <at> yahoo.com> writes:

> 
> Dear All,
> Please can anyone help me with codes for performing running mean for 
> my 3-D/4-D gridded (Spatial ) data sets( x,y,t, and x,y,z, t, 
> respectively).

Have you reviewed the Spatial Task View on CRAN, and considered posting on the 
R-sig-geo list? It is quite likely that the easiest way to do this is to 
represent your data as an appropriate object, then to see which dimension(s)
you want to run over (possibly the t, but a spatial filter would run over
others). If you need to do a lot of this, you'll save time by thinking through 
representation carefully, and seeing whether R is the best platform for you
for this task.

Roger Bivand

> Thank you,
> Isaac
>



More information about the R-help mailing list