esp_metrics.Rd
This function plots an ESP metric panel
esp_metrics(
data,
species,
region,
approved = TRUE,
order = FALSE,
out,
name,
...
)
The ESP metric panel data (suggest to use AKesp::metric_panel
).
The species name
The stock region
Boolean. Whether to use only approved metrics (approved = TRUE
)
Boolean. Whether to order the metrics by value (order = TRUE
). Else will be in standard order.
Whether the function should save the plot, or return a ggplot object. One of c("ggplot", "save")
The file name for the image. Will be saved relative to the working directory.
Passed to ggplot2::ggsave
An image file