Description Usage Arguments Value
View source: R/evaluation_stage.r
Plot a confusion matrix for a given prediction set, and return the table.
1 2 3 |
dataframe |
data.frame. Must contain |
cutoff |
numeric. The cutoff at which to assign numbers greater a 1 for prediction purposes, and 0 otherwise. The default is 0.5. |
plot.it |
logical. Whether or not to plot the confusion matrix as a
four fold diagram. The default is |
xlab |
character. The labels for the rows ( |
ylab |
character. The labels for the rows ( |
title |
character. The title for the fourfoldplot, if it is graphed. |
a table. The confusion matrix table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.