Learn R Programming

whitebox (version 0.1.0)

count_if: Count if

Description

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

Usage

count_if(inputs, output, value, verbose_mode = FALSE)

Arguments

inputs

Input raster files.

output

Output raster file.

value

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

verbose_mode

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

Value

Returns the tool text outputs.