rsaga.filter.gauss {RSAGA}R Documentation

Gauss Filter

Description

Smooth a grid using a Gauss filter.

Usage

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

Arguments

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

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 (default) a character vector with the module's console output.

Note

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.)

Author(s)

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

See Also

rsaga.filter.simple


[Package RSAGA version 0.9-1 Index]