floor {whitebox}R Documentation

Floor

Description

Returns the largest (closest to positive infinity) value that is less than or equal to the values in a raster.

Usage

floor(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")
floor(input = dem, output = 'output.tif')

## End(Not run)

[Package whitebox version 1.4.0 Index]