Learn R Programming

SPARRAfairness (version 0.1.0.0)

plot.sparraROC: Plot function for class sparraROC

Description

Plot function for class sparraROC

Usage

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

Value

No return value, draws a figure

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()

Examples

Run this code
# See vignette

Run the code above in your browser using DataLab