This function plots a visual of overall ESP scores over time.

esp_overall_score(data, species, region, out = "ggplot", name, ...)

Arguments

data

The ESP indicator data (LONG format).

species

The species name

region

The stock region

out

Whether the function should save the plot, or return a ggplot object. One of c("ggplot", "save")

name

The file name for the image. Will be saved relative to the working directory. Only needed if saving the plot.

...

Passed to ggplot2::ggsave

Value

An image file