plotSparseRoc: Plot the ROC curve using the sparse thresholdSummary data...

Description Usage Arguments Details Value

View source: R/Plotting.R

Description

Plot the ROC curve using the sparse thresholdSummary data frame

Usage

1
plotSparseRoc(evaluation, type = "test", fileName = NULL)

Arguments

evaluation

A prediction object as generated using the runPlp function.

type

options: 'train' or test'

fileName

Name of the file where the plot should be saved, for example 'plot.png'. See the function ggsave in the ggplot2 package for supported file formats.

Details

Create a plot showing the Receiver Operator Characteristics (ROC) curve.

Value

A ggplot object. Use the ggsave function to save to file in a different format.


hxia/plp-git-demo documentation built on March 19, 2021, 1:54 a.m.