roc_plot: roc_plot

Description Usage Arguments

View source: R/roc.R

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

1
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.


classifierplots documentation built on Jan. 13, 2021, 5:23 p.m.