plot {MRMCaov} | R Documentation |
ROC Plots
Description
Plots of ROC curves.
Usage
## S3 method for class 'roc_curve'
plot(x, n = 100, emp_points = FALSE, ...)
## S3 method for class 'roc_curves'
plot(x, n = 100, emp_points = FALSE, ...)
## S3 method for class 'empirical_curve'
plot(x, ...)
## S3 method for class 'empirical_curves'
plot(x, ...)
## S3 method for class 'roc_points'
plot(x, coord_fixed = TRUE, ...)
## S3 method for class 'mrmc'
plot(x, n = 100, ...)
## S3 method for class 'stmc'
plot(x, n = 100, ...)
Arguments
x |
object to plot. |
n |
number of equally spaced false-positive rate points at which to calculate true-positive rates and interpolate through for display of the curve. |
emp_points |
logical indicating whether to overlay empirical ROC points on parametric curves. |
... |
arguments passed to other methods. |
coord_fixed |
logical indicating whether to fix the scales of x and y axes. |
Value
Returns a ggplot object.
See Also
Examples
curves <- with(VanDyke,
roc_curves(truth, rating, groups = list(Test = treatment, Reader = reader))
)
plot(curves)
[Package MRMCaov version 0.3.0 Index]