Description Usage Arguments Value See Also Examples
Given an object of class fbroc.conf
this function plots the contained estimates for
the confidence region of the ROC curve.
1 2 3 | ## S3 method for class 'fbroc.conf'
plot(x, col = "blue", fill = "royalblue1",
print.plot = TRUE, ...)
|
x |
Object of class |
col |
Color of the curve to be drawn. |
fill |
Fill of the confidence region. |
print.plot |
Logical specifying whether the plot should be printed. |
... |
Further arguments passed to or from other methods. |
A ggplot, so that the user can customize the plot further.
1 2 3 4 5 6 7 8 | data(roc.examples)
example <- boot.roc(roc.examples$Cont.Pred, roc.examples$True.Class, n.boot = 100)
# Confidence regions for TPR at specific FPR values
tpr.conf <- conf(example, conf.for = "tpr", steps = 50)
plot(tpr.conf)
# Confidence regions for FPR at specific TPR values
fpr.conf <- conf(example, conf.for = "fpr", steps = 50)
plot(fpr.conf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.