I\'m using the function focal_hpc from spatial.tools in R to compute for each cell of a raster the average value (mean function) around wi
focal_hpc
spatial.tools
mean