wbt_count_if {whitebox}R Documentation

Count if

Description

Counts the number of occurrences of a specified value in a cell-stack of rasters.

Usage

wbt_count_if(inputs, output, value, wd = NULL, verbose_mode = FALSE)

Arguments

inputs

Input raster files.

output

Output raster file.

value

Search value (e.g. countif value = 5.0).

wd

Changes the working directory.

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]