Skip to contents

Plot SAL scores

Usage

plot_spatial_sal(
  plot_data,
  score_name = "SAL",
  point_size = 4,
  extend_y_to_zero = TRUE,
  line_width = 1,
  quantiles = seq(0.25, 0.75, 0.05),
  xylim = "auto",
  show_stats = FALSE,
  ...
)

Arguments

plot_data

A tibble from plot_spatial_verif that contains necessary scores.

score_name

Name of the score to plot. Technically not really necessary but makes it more intuitive when calling from plot_spatial_verif.

point_size

The size of points to plot.

extend_y_to_zero

Logical. Whether to extend the y-axis to include

line_width

The width of lines to plot. The default is 1.

quantiles

A vector of quantiles that will be used to highlight an area of S/A values within those quantiles.

xylim

Plot x/y axis shared limit. Default "auto" will generate limits based on plot data.

show_stats

An option to show median and mean values of S, A and L as a table next to the plot. Default FALSE.