Description Usage Arguments Value See Also Examples
Plot a fbroc.roc object and shows the ROC curve. The confidence
region for the ROC curve and the result for a specified performance metric 
can also be included in the plot.
| 1 2 3 4 5 | 
| x | Object of class  | 
| col | Color used for the curve. Defaults to blue. | 
| fill | Color used for areas (confidence regions, AUCs and partial AUCs). | 
| print.plot | Logical specifying whether the plot should be printed. | 
| show.conf | Logical specifying whether the confidence region should be plotted. | 
| steps | Number of discrete steps for the FPR at which the TPR is 
calculated. TPR confidence intervals are given for all FPRs in 
 | 
| conf.level | Confidence level of the confidence region. | 
| show.metric | Character specifying which metric to display. See 
 | 
| text.size.perf | Size of the text display when show.metric is set to  | 
| show.area | Whether to shade the AUC or partial AUC area. Defaults to !show.conf. | 
| ... | further arguments passed to  | 
A ggplot, so that the user can customize the plot further.
| 1 2 3 4 5 6 7 8 9 10 11 | y <- rep(c(TRUE, FALSE), each = 100)
x <- rnorm(200) + y
result.boot <- boot.roc(x, y, n.boot = 100)
plot(result.boot)
plot(result.boot, show.metric = "auc")
plot(result.boot, show.metric = "auc", show.conf = FALSE) # show area instead
plot(result.boot, show.metric = "tpr", fpr = 0.2)
plot(result.boot, show.metric = "partial.auc", fpr = c(0, 0.5),
     show.partial.auc.warning = FALSE)
plot(result.boot, show.metric = "partial.auc", fpr = c(0, 0.5), show.conf = FALSE,
     show.partial.auc.warning = FALSE)  # show area instead
 | 
Loading required package: ggplot2
Warning: Ignoring unknown aesthetics: y
Warning: Ignoring unknown aesthetics: y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.