powered by
Compute the the confusion matrix
ebc_confusion(detected, true, all, m = length(all), prop = FALSE)
A 2*2 named matrix.
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?
FALSE
See ebc_allmeasures for the description of the measures.
ebc_allmeasures
ebc_confusion(detected = c("A", "C", "D"), true = c("A", "B", "C"), m = 6)
Run the code above in your browser using DataLab