plot.sparraCAL {SPARRAfairness}R Documentation

Plot function for class sparraCAL

Description

Plot function for class sparraCAL

Usage

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

Arguments

x

output from getcal()

cols

colour to draw lines

add

set to FALSE to add to existing plot

add_xy_line

set to TRUE to draw an X-Y reference line.

...

passed to lines()

Value

No return value, draws a figure

Examples

# See vignette

[Package SPARRAfairness version 0.0.0.1 Index]