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 = NULL,
compress_rasters = NULL,
command_only = FALSE
)
Arguments
inputs |
Input raster file paths, concatenated with |
output |
Output raster file. |
value |
Search value (e.g. countif value = 5.0). |
wd |
Changes the working directory. Default: |
verbose_mode |
Sets verbose mode. If verbose mode is |
compress_rasters |
Sets the flag used by 'WhiteboxTools' to determine whether to use compression for output rasters. Default: |
command_only |
Return command that would be executed by |
Value
Returns the tool text outputs.