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