Learn R Programming

sits (version 0.13.0)

print.sits_assessment: Print the values of a confusion matrix

Description

Adaptation of the caret::print.confusionMatrix method for the more common usage in Earth Observation.

Usage

# S3 method for sits_assessment
print(x, ..., mode = "sens_spec", digits = max(3, getOption("digits") - 3))

Arguments

x

An object of class confusionMatrix.

other parameters passed to the "print" function

mode

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

digits

Number of significant digits when printed.

Value

x is invisibly returned.