Learn R Programming

sits (version 1.12.0)

.print_confusion_matrix: Print the values of a confusion matrix

Description

This is an adaptation of the print.confusionMatrix method by the "caret" package with some of the descriptions adapted for the more common usage in Earth Observation.

Usage

.print_confusion_matrix(x, mode = "sens_spec", digits = max(3,
  getOption("digits") - 3), ...)

Arguments

x

An object of class confusionMatrix.

mode

A single character string either "sens_spec", "prec_recall", or "everything".

digits

Mumber of significant digits when printed.

Optional arguments to pass to print.table.

Value

x is invisibly returned.

See Also

confusionMatrix