plot.ROC {sROC}R Documentation

Plot a ROC Object

Description

To plot a “ROC” object generated by kROC(...).

Usage

 ## S3 method for class 'ROC'
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(...)

Author(s)

X.F. Wang wangx6@ccf.org

See Also

kROC.


[Package sROC version 0.1-2 Index]