Plot the sensitivity, specificity, accuracy and roc curves.
This function plots the (partial) sensitivity, specificity, accuracy and roc curves.
## S3 method for class 'AUC' plot(x, y = NULL, ..., type = "l", add = FALSE, min = 0, max = 1)
x |
an object produced by one of the functions
|
y |
Not used. |
... |
Arguments to be passed to methods, such as graphical parameters. See ?plot |
type |
Type of plot. Default is line plot. |
add |
Logical. If TRUE the curve is added to an existing plot. If FALSE a new plot is created. |
min |
a numeric value between 0 and 1, denoting the cutoff that defines the start of the area under the curve |
max |
a numeric value between 0 and 1, denoting the cutoff that defines the end of the area under the curve |
Authors: Michel Ballings and Dirk Van den Poel, Maintainer: Michel.Ballings@UGent.be
Ballings, M., Van den Poel, D., Threshold Independent Performance Measures for Probabilistic Classifcation Algorithms, Forthcoming.
sensitivity
, specificity
,
accuracy
, roc
,
auc
, plot
data(churn) plot(sensitivity(churn$predictions,churn$labels)) plot(specificity(churn$predictions,churn$labels)) plot(accuracy(churn$predictions,churn$labels)) plot(roc(churn$predictions,churn$labels))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.