Skip to content
Prev 22450 / 29559 Next

customized focal mean

Hi,

Maybe you could look at raster::focal function and w (matrix of weights
arguments)
http://www.inside-r.org/packages/cran/raster/docs/focal

"w
matrix of weights (the moving window), e.g. a 3 by 3 matrix with values 1;
see Details. The matrix does not need to be square, but the sides must be
odd numbers. If you need even sides, you can add a column or row with
weights of zero"

2015-03-12 6:37 GMT+01:00 hariom <hariom.cs1 at gmail.com>: