View source: R/dCVnet_plotting.R
plot.rocdata | R Documentation |
acts on a rocdata
object
to provide a ROC plot with the following:
y-axis : Sensitivity (i.e. True Positive Rate)
x-axis : 1 - Specificity (i.e. False Positive Rate)
curve : shows c.d.f. as classification threshold varies
## S3 method for class 'rocdata'
plot(
x,
legend = TRUE,
alphalabel = c(0.25, 0.5, 0.75),
guide_labels = c(group = "Model", threshold = expression(P[Threshold]), refline =
"Chance\nPerformance"),
...
)
x |
|
legend |
logical. Display a legend? |
alphalabel |
should certain alpha values (probability thresholds) on the curve be highlighted with symbols indicating threshold? |
guide_labels |
a named list of 3 labels used in the legend:
|
... |
additional arguments (unused) |
requires ggplot2.
a ROC plot, as above.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.