Learn R Programming

whitebox (version 2.3.1)

wbt_evaluate_training_sites: Evaluate training sites

Description

This tool can be used to inspect the overlap in spectral signatures of training sites for various classes.

Usage

wbt_evaluate_training_sites(
  inputs,
  polys,
  field,
  output,
  wd = NULL,
  verbose_mode = FALSE,
  compress_rasters = FALSE,
  command_only = FALSE
)

Value

Returns the tool text outputs.

Arguments

inputs

Name of the input band images.

polys

Name of the input training site polygons shapefile.

field

Name of the attribute containing class name data.

output

Name of the output report file (*.html).

wd

Changes the working directory.

verbose_mode

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

compress_rasters

Sets the flag used by 'WhiteboxTools' to determine whether to use compression for output rasters.

command_only

Return command that would be executed by system() rather than running tool.