plot.fbroc.conf.paired: Plots function for object of class 'fbroc.conf.paired'

Description Usage Arguments Value See Also Examples

Description

Given an object of class fbroc.conf.paired this function plots the contained estimates for the confidence region of the difference between the two individual ROC curves.

Usage

1
2
3
## S3 method for class 'fbroc.conf.paired'
plot(x, col = "blue", fill = "royalblue1",
  print.plot = TRUE, ...)

Arguments

x

Object of class fbroc.conf.paired to be plotted.

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.

Value

A ggplot, so that the user can customize the plot further.

See Also

conf.fbroc.paired.roc

Examples

1
2
3
4
5
6
7
8
9
data(roc.examples)
example <- boot.paired.roc(roc.examples$Cont.Pred, roc.examples$Cont.Pred.Outlier,
                           roc.examples$True.Class, n.boot = 1000)
# Confidence regions for the difference in TPR at specific FPR values                           
tpr.conf <- conf(example, conf.for = "tpr", steps = 50)
plot(tpr.conf)
# Confidence regions for the difference in FPR at specific TPR values 
fpr.conf <- conf(example, conf.for = "fpr", steps = 50)
plot(fpr.conf) 

erikpeter/fbroc documentation built on May 16, 2019, 8:42 a.m.