Learn R Programming

SPARRAfairness (version 0.0.0.1)

plot.sparraCAL: Plot function for class sparraCAL

Description

Plot function for class sparraCAL

Usage

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

Value

No return value, draws a figure

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

Examples

Run this code
# See vignette

Run the code above in your browser using DataLab