plot.sparraROC {SPARRAfairness}R 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

[Package SPARRAfairness version 0.0.0.1 Index]