R/plot_roc.R

Defines functions plot_roc

Documented in plot_roc

# Create a generic function for usage, which other files will implement.
#' Plot the ROC curve for an ensemble object.
#'
#' Supports CV.SuperLearner and SuperLearner objects.
#' @param x Ensemble object.
#' @param ... Remaining arguments passed through to the method.
#' @export
# TODO: improve documentation.
plot_roc = function(x, ...) UseMethod("plot_roc")

Try the ck37r package in your browser

Any scripts or data that you put into this service are public.

ck37r documentation built on Feb. 6, 2020, 5:09 p.m.