View source: R/summary_utils.R
get_precision_recall | R Documentation |
Get false positive rates and true positive rate for ROC curves
get_precision_recall(threshold, df_true, byReplicate = FALSE)
threshold |
list object with threshold values rangng from 0 to 1 |
df_true |
data.frame object for the infector probability and the true classification of transmission pairs |
The true data for df_true object will have 1 for a transmission pair that have occurred and 0 for a transmission pair that did not occur. This will be based by comparison with the transmission matrix.
data.frame object for values of threshold, true positive rate (TPR) and false positive rate (FPR).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.