Description Usage Arguments Details
ROCplot(predictions, truth, N = 100, nulline = TRUE,...)
1 |
predictions |
is prediction values between 0 and 1 |
truth |
the actual 0 and 1 values |
N |
number of candidate thresholds; default is 100 |
... |
additional arguments passed to plot |
nulline |
whether to plot a line with slope=1 |
Plots a ROC curve. Also gives optimal cut point (several if they are equal in effectiveness) and area under the curve by the trapezoid method, so accuracy improves with greater N.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.