wbt_random_sample {whitebox} | R Documentation |
Random sample
Description
Creates an image containing randomly located sample grid cells with unique IDs.
Usage
wbt_random_sample(
base,
output,
num_samples = 1000,
wd = NULL,
verbose_mode = NULL,
compress_rasters = NULL,
command_only = FALSE
)
Arguments
base |
Input raster file path. See |
output |
Output raster file. |
num_samples |
Number of samples. |
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.