plot.sparraROC: Plot function for class sparraROC

View source: R/SPARRAfairness_functions.R

plot.sparraROCR Documentation

Plot function for class sparraROC

Description

Plot function for class sparraROC

Usage

## S3 method for class 'sparraROC'
plot(
  x,
  addauc = FALSE,
  cols = rep(phs_colours("phs-blue"), dim(x$sens)[1]),
  ...
)

Arguments

x

output from getroc()

addauc

set to TRUE to add text to the plot showing the (mean) AUC and SE.

cols

colour to draw lines

...

passed to plot()

Value

No return value, draws a figure

Examples

# See vignette

SPARRAfairness documentation built on April 11, 2025, 6:17 p.m.