Description Usage Arguments Value Examples
View source: R/MakeSigMatrix.R
Get f1 / mcc and other accuracy measurements for binary predictions. Provide either an estimate and reference vector e.g. getF1mcc(estimate, reference) Or TPs, FPs, etc. e.g. getF1mcc(tps=3, fps=4, tns=7, fns=2)
| 1 2 3 4 5 6 7 8 | 
| estimate | A binary vector of predictions | 
| reference | a binary vector of actual values | 
| tps | The number of TPs | 
| fps | The number of FPs | 
| tns | The number of TNs | 
| fns | The number of FNs | 
A vector with sensitivity, specificity, fpr, fdr, f1, agreement, p.value, mcc, and mcc.p
| 1 2 3 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.