autoplot.performance: Autoplot 'ROCR::performance'

View source: R/fortify_performance.R

autoplot.performanceR Documentation

Autoplot ROCR::performance

Description

Autoplot ROCR::performance

Usage

## S3 method for class 'performance'
autoplot(object, p = NULL, bins = 5, ...)

Arguments

object

ROCR::performance instance

p

ggplot2::ggplot instances

bins

If object represents a measure whose value is just a scalar (e.g. performance(predObj, 'auc')), a histogram will be plotted of this scalar's values for different runs. bins is the number of bins for this histogram.

...

other arguments passed to methods

Value

ggplot


ggfortify documentation built on May 29, 2024, 7:19 a.m.