Plots the True Positive Rate (TPR) as a function of the False Positive Rate
(FPR) for different thresholds in predicted probabilities. If the results
from multiple ROC analyses are provided (e.g. output of
ExplanatoryPerformance
with large K
), the point-wise
median is represented and flanked by a transparent band defined by point-wise
quantiles
. See examples in ROC
and
ExplanatoryPerformance
.
# S3 method for roc_band
plot(
x,
col_band = NULL,
alpha = 0.5,
quantiles = c(0.05, 0.95),
add = FALSE,
...
)
A base plot.
output of ROC
or ExplanatoryPerformance
.
colour of the band defined by point-wise quantiles
.
level of opacity for the band.
point-wise quantiles of the performances defining the band.
logical indicating if the curve should be added to the current plot.
additional plotting arguments (see par
).
ROC
, ExplanatoryPerformance