Compute the the confusion matrix
ebc_confusion(detected, true, all, m = length(all), prop = FALSE)
Vector of elements that are detected.
Vector of element that are supposed to be detected.
Vector of all elements.
Total number of elements.
Logical, default to FALSE
. Should the matrix sum to one?
A 2*2 named matrix.
See ebc_allmeasures
for the description of the measures.