View source: R/derived_measures.R
ebc_TPR | R Documentation |
Measures derived from confusion matrix.
ebc_TPR(detected, true) ebc_TNR(detected, true, all, m = length(all)) ebc_PPV(detected, true) ebc_NPV(detected, true, all, m = length(all)) ebc_FNR(detected, true) ebc_FPR(detected, true, all, m = length(all)) ebc_FDR(detected, true) ebc_FOR(detected, true, all, m = length(all)) ebc_ACC(detected, true, all, m = length(all)) ebc_BACC(detected, true, all, m = length(all)) ebc_F1(detected, true) ebc_PLR(detected, true, all, m = length(all)) ebc_NLR(detected, true, all, m = length(all)) ebc_DOR(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.
A numeric.
ebc_TP
, ebc_tidy
,
ebc_allmeasures
ebc_TPR(detected = c("A", "C", "D"), true = c("A", "B", "C")) ebc_ACC(detected = c("A", "C", "D"), true = c("A", "B", "C"), all = LETTERS[1:5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.