Learn R Programming

whitebox (version 0.1.0)

random_sample: Random sample

Description

Creates an image containing randomly located sample grid cells with unique IDs.

Usage

random_sample(base, output, num_samples = 1000, verbose_mode = FALSE)

Arguments

base

Input raster file.

output

Output raster file.

num_samples

Number of samples.

verbose_mode

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

Value

Returns the tool text outputs.