Hi Alessandro,
SAGA has a grid_calculus library. RSAGA provides a wrapper function
rsaga.grid.calculus, and even rsaga.linear.combination as a more
convenient version when you want to apply linear models to stacks of
grids. See ?rsaga.grid.calculus, there's also some example code.
Here some
Hi All,
I need help to write a code in R to subtract two raster in SAGA.
I have "DEM_1_f.sgrd" and "DSM_1_f.sgrd" in SAGA format and I wish to
subtract (DSM_1_f.sgrd - DEM_1_f.sgrd) to obtain a new layer
A part of the code is this:
#A# DEM - 1) Shapes to Grid
rsaga.get.usage("grid