Nicely display statistics from a confusion matrix from the caret package
1 2 3 4 5 6 7 | printConfStats(
confMtrx,
digits = 2,
what = c(1, 2, 3, 4, 12),
caption = NULL,
tblOnly = FALSE
)
|
confMtrx |
a confusion matrix from the caret package |
digits |
number of digitis to display |
what |
which stats to show, see caret package for details |
caption |
table caption |
tblOnly |
should a dataframe or a formatted object be returned |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.