absolute_value: Absolute value

Description Usage Arguments Value Examples

View source: R/math_stat_analysis.R

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
dem <- system.file("extdata", "DEM.tif", package="whitebox")
absolute_value(input = dem, output = 'output.tif')

whitebox documentation built on Feb. 8, 2019, 1:04 a.m.