| .raster_focal {sits} | R Documentation |
Raster package internal moving window function
.raster_focal(r_obj, window_size, fn, ...)
r_obj |
raster package object to pass a window function |
window_size |
number indicating the length of a squared window's side. |
fn |
a function to be convoluted. Can be either a string or a R function. Character strings options are: "sum", "mean", and "modal". |
... |
additional parameters to be passed to raster package |
raster package object
Rolf Simoes, rolf.simoes@inpe.br