truncate {whitebox}R Documentation

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.


[Package whitebox version 1.4.0 Index]