ebc_confusion {evabic} | R Documentation |
Confusion matrix
Description
Compute the the confusion matrix
Usage
ebc_confusion(detected, true, all, m = length(all), prop = FALSE)
Arguments
detected |
Vector of elements that are detected. |
true |
Vector of element that are supposed to be detected. |
all |
Vector of all elements. |
m |
Total number of elements. |
prop |
Logical, default to |
Details
See ebc_allmeasures
for the description of the measures.
Value
A 2*2 named matrix.
Examples
ebc_confusion(detected = c("A", "C", "D"), true = c("A", "B", "C"), m = 6)
[Package evabic version 0.1.1 Index]