Learn R Programming

whitebox (version 2.1.0)

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
)

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.

Value

Returns the tool text outputs.