ebc_TP {evabic} | R Documentation |
Basic measures from the confusion matrix.
ebc_TP(detected, true)
ebc_FP(detected, true)
ebc_FN(detected, true)
ebc_TN(detected, true, all, m = length(all))
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. |
See ebc_allmeasures
for the description of the measures.
An integer.
ebc_TPR
, ebc_tidy
,
ebc_allmeasures
ebc_TP(detected = c("A", "C", "D"), true = c("A", "B", "C"))
ebc_FP(detected = c("A", "C", "D"), true = c("A", "B", "C"))
ebc_FN(detected = c("A", "C", "D"), true = c("A", "B", "C"))
ebc_TN(detected = c("A", "C", "D"), true = c("A", "B", "C"),
all = LETTERS[1:6])
ebc_TN(detected = c("A", "C", "D"), true = c("A", "B", "C"), m = 6)