character or numeric: shape of moving window, either "square" (=0) or "circle" (=1, default)
method
character or numeric: "smooth" (=0), "sharpen" (=1), or "edge" (=2)
radius
positive integer: radius of moving window
...
optional arguments to be passed to rsaga.geoprocessor, including the env RSAGA geoprocessing environment
Value
The type of object returned depends on the intern argument passed to the rsaga.geoprocessor. For intern=FALSE it is a numerical error code (0: success), or otherwise (the default) a character vector with the module's console output.