
Plot the ROC curve
plotRoc(prediction, fileName = NULL)
A prediction object as generated using the
predictProbabilities
function.
Name of the file where the plot should be saved, for example
'plot.png'. See the function ggsave
in the ggplot2 package for
supported file formats.
A ggplot object. Use the ggsave
function to save to file in a different
format.
Create a plot showing the Receiver Operator Characteristics (ROC) curve.