increment {whitebox}R Documentation

Increment

Description

Increases the values of each grid cell in an input raster by 1.0. (see also InPlaceAdd).

Usage

increment(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

## Not run: 
dem <- system.file("extdata", "DEM.tif", package="whitebox")
increment(input = dem, output = 'output.tif')

## End(Not run)

[Package whitebox version 0.5.0 Index]