rsaga.filter.gauss {RSAGA} | R Documentation |
Smooth a grid using a Gauss filter.
rsaga.filter.gauss(in.grid, out.grid, sigma, radius = ceiling(2 * sigma), ...)
in.grid |
input: SAGA grid file
(default file extension: .sgrd ) |
out.grid |
output: SAGA grid file |
sigma |
numeric, >0.0001: standard deviation parameter of Gauss filter |
radius |
positive integer: radius of moving window |
... |
optional arguments to be passed to rsaga.geoprocessor ,
including the env RSAGA geoprocessing environment |
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 (default)
a character vector with the module's console output.
This function uses module 1 in the SAGA library grid_filter
.
This SAGA module had a bug under 2.0.1 which has been corrected in version 2.0.2. (SAGA used to crash when this module was called.)
Alexander Brenning (R interface), Olaf Conrad (SAGA module)