Learn R Programming

whitebox (version 0.1.0)

round: Round

Description

Rounds the values in an input raster to the nearest integer value.

Usage

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

Run this code
# NOT RUN {
dem <- system.file("extdata", "DEM.tif", package="whitebox")
round(input = dem, output = 'output.tif')
# }

Run the code above in your browser using DataLab