powered by
Plot chance line in a ROC plot.
add_chance_line()
A ggplot layer instance object.
plot_roc_curve(iris, response = Species, predictor = Sepal.Width) + add_chance_line()
Run the code above in your browser using DataLab