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