a print method for confusionMatrix
# S3 method for confusionMatrix
print(
x,
mode = x$mode,
digits = max(3, getOption("digits") - 3),
printStats = TRUE,
...
)
an object of class confusionMatrix
a single character string either "sens_spec", "prec_recall", or "everything"
number of significant digits when printed
a logical: if TRUE
then table statistics are also
printed
optional arguments to pass to print.table
x
is invisibly returned