count_if {whitebox} | R Documentation |
Counts the number of occurrences of a specified value in a cell-stack of rasters.
count_if(inputs, output, value, verbose_mode = FALSE)
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. |
Returns the tool text outputs.