negate {whitebox} | R Documentation |
Changes the sign of values in a raster or the 0-1 values of a Boolean raster.
negate(input, output, verbose_mode = FALSE)
input |
Input raster file. |
output |
Output raster file. |
verbose_mode |
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") negate(input = dem, output = 'output.tif') ## End(Not run)