Description Usage Arguments Value
calculates the contingency table, given test and predicted values, and a threshold for the predicted values.
1 | contingencyTable(predicted, test_var, threshold = 0.6)
|
predicted |
vector with predicted values (if it is a score, a threshold should be given) |
test_var |
vector with classification |
data frame with the four values of the contingency table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.