roc_plot {classifierplots}R Documentation

roc_plot

Description

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.

Usage

roc_plot(test.y, pred.prob, resamps = 2000, force_bootstrap = NULL)

Arguments

test.y

List of know labels on the test set

pred.prob

List of probability predictions on the test set

resamps

How many bootstrap samples to use

force_bootstrap

True/False to force or force off bootstrapping.


[Package classifierplots version 1.4.0 Index]