powered by
Decreases the values of each grid cell in an input raster by 1.0 (see also InPlaceSubtract).
decrement(input, output, verbose_mode = FALSE)
Input raster file.
Output raster file.
Sets verbose mode. If verbose mode is False, tools will not print output messages.
Returns the tool text outputs.
# NOT RUN { dem <- system.file("extdata", "DEM.tif", package="whitebox") decrement(input = dem, output = 'output.tif') # }
Run the code above in your browser using DataLab