Learn R Programming

sROC (version 0.1-2)

plot.ROC: Plot a ROC Object

Description

To plot a ``ROC'' object generated by kROC(...).

Usage

"plot"(x, main = NULL, diagonal = TRUE, xlab = "FPR", ylab = "TPR", type = "l", lwd=2, ...)

Arguments

x
a ``ROC'' object generated by kROC(...).
diagonal
if TRUE, the diagonal line will be plotted.
main
see par
xlab
see par
ylab
see par
type
see par
lwd
see par
...
further arguments for the plot function.

Details

This function is to plot the estimated function generated by kROC(...)

See Also

kROC.