CreateROCPlot: A helper function used by the plot.ModelComparison. This...

Description Usage Arguments Examples

View source: R/Visualization.R

Description

A helper function used by the plot.ModelComparison. This function gathers the data needed for the ROC lines and then plots the chart.

Usage

1
CreateROCPlot(object, pred.basic, labels)

Arguments

object

The ModelComparison object.

pred.basic

The predictions from the models on the testing data.

labels

The labels for the testing data.

Examples

1
2
# This function is used by plot.ModelComparison. It's usage is as follows:
# CreateROCPlot(object, pred.basic, labels)

orionw/ModelComparison documentation built on Nov. 4, 2019, 11:11 p.m.