Adaptation of the caret::print.confusionMatrix method for the more common usage in Earth Observation.
# S3 method for sits_assessment
print(x, ..., mode = "sens_spec", digits = max(3, getOption("digits") - 3))
An object of class confusionMatrix
.
other parameters passed to the "print" function
A single character string either "sens_spec", "prec_recall", or "everything".
Number of significant digits when printed.
x
is invisibly returned.