plot.sparraCAL: Plot function for class sparraCAL

View source: R/SPARRAfairness_functions.R

plot.sparraCALR 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

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