R: Raster package internal moving window function

.raster_focal {sits} | R Documentation

## Raster package internal moving window function

### Description

Raster package internal moving window function

### Usage

    .raster_focal(r_obj, window_size, fn, ...)

### Arguments

`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

### Value

raster package object

### Author(s)

Rolf Simoes, rolf.simoes@inpe.br

[Package sits version 0.14.0 Index]