Learn R Programming

whitebox (version 0.1.0)

truncate: Truncate

Description

Truncates the values in a raster to the desired number of decimal places.

Usage

truncate(input, output, num_decimals = NULL, verbose_mode = FALSE)

Arguments

input

Input raster file.

output

Output raster file.

num_decimals

Number of decimals left after truncation (default is zero).

verbose_mode

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

Value

Returns the tool text outputs.