print.confusionMatrix | R Documentation |
a print method for confusionMatrix
## S3 method for class 'confusionMatrix'
print(
x,
mode = x$mode,
digits = max(3, getOption("digits") - 3),
printStats = TRUE,
...
)
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 |
x
is invisibly returned
Max Kuhn
confusionMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.