Produces a smoothed ROC curve as a ggplot2 plot object. A confidence interval is produced using bootstrapping, although it is turned off by default if you have a large dataset.
roc_plot(test.y, pred.prob, resamps = 2000, force_bootstrap = NULL)List of know labels on the test set
List of probability predictions on the test set
How many bootstrap samples to use
True/False to force or force off bootstrapping.