pROC_optimal_threshold | R Documentation |
Find the optimal threshold from a pROC mod
pROC_optimal_threshold(mod, method = c("youden", "top_left"), ...)
mod |
An object with class "roc" (a ROC model made with pROC::roc(.)) |
method |
Method to determine optimal threshold |
... |
Additional arguments passed to [pROC::ci.thresholds()] |
x <- pROC::aSAH mod <- pROC::roc(x$outcome, x$s100b, levels=c("Good", "Poor")) pROC_optimal_threshold(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.