absolute_value: Absolute value

Description Usage Arguments Value Examples

Description

Calculates the absolute value of every cell in a raster.

Usage

1
absolute_value(input, output, verbose_mode = FALSE)

Arguments

input

Input raster file.

output

Output raster file.

verbose_mode

Sets verbose mode. If verbose mode is False, tools will not print output messages.

Value

Returns the tool text outputs.

Examples

1
2
3
4
5
## Not run: 
dem <- system.file("extdata", "DEM.tif", package="whitebox")
absolute_value(input = dem, output = 'output.tif')

## End(Not run)

whitebox documentation built on Sept. 7, 2020, 3 p.m.