Learn R Programming

RSAGA (version 1.4.0)

rsaga.filter.gauss: Gauss Filter

Description

Smooth a grid using a Gauss filter.

Usage

rsaga.filter.gauss(
  in.grid,
  out.grid,
  sigma,
  radius = ceiling(2 * sigma),
  env = rsaga.env(),
  ...
)

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.

Arguments

in.grid

input: SAGA GIS grid file (default file extension: .sgrd)

out.grid

output: SAGA GIS grid file

sigma

numeric, >0.0001: standard deviation parameter of Gauss filter

radius

positive integer: radius of moving window

env

list, setting up a SAGA geoprocessing environment as created by rsaga.env()

...

optional arguments to be passed to rsaga.geoprocessor(), including the env RSAGA geoprocessing environment

Author

Alexander Brenning (R interface), Olaf Conrad (SAGA module)

See Also

rsaga.filter.simple()