print.confusionMatrix {caret} | R Documentation |
Print method for confusionMatrix
Description
a print method for confusionMatrix
Usage
## S3 method for class 'confusionMatrix'
print(
x,
mode = x$mode,
digits = max(3, getOption("digits") - 3),
printStats = TRUE,
...
)
Arguments
x |
an object of class |
mode |
a single character string either "sens_spec", "prec_recall", or "everything" |
digits |
number of significant digits when printed |
printStats |
a logical: if |
... |
optional arguments to pass to |
Value
x
is invisibly returned
Author(s)
Max Kuhn
See Also
[Package caret version 6.0-94 Index]