plotContTable | R Documentation |
Plot the confusion matrix via heatmap, with true labels in columns
plotContTable( est_label, true_label, true_label_order = NULL, est_label_order = NULL, short.names = NULL, xlab = "Reference", ylab = NULL )
est_label |
vector of estimated labels (rows) |
true_label |
vector of actual labels (columns) |
true_label_order |
order of column labels if provided |
est_label_order |
order of row labels if provided |
short.names |
short names of the true labels to be shown |
xlab |
x axis label |
ylab |
y axis label |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.