Plot the ROC curve for logistic regression, LDA, or QDA models.
Usage
ROCcurve(mod, nw = NULL)
Value
A plot with the ROC curve will be produced, nothing is returned.
Arguments
mod
A logistic regression, LDA, or QDA model
nw
A dataset for which a testing ROC curve should be plotted
using the model in mod. Note that it must contain the predictors as
well as the responses. If this argument is NULL (the default) the training
ROC curve will be plotted.