Learn R Programming

SPARRAfairness (version 0.0.0.1)

plot.sparraPRC: Plot function for class above

Description

Plot function for class above

Usage

# S3 method for sparraPRC
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 getprc()

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