plot_harvest_rate: Effective harvest rate plot

View source: R/figures.R

plot_harvest_rateR Documentation

Effective harvest rate plot

Description

Effective harvest rate plot

Usage

plot_harvest_rate(
  df,
  models,
  regions,
  prop_msy = 0.5,
  show_f_msy = FALSE,
  point_size = 1,
  ribbon_alpha = 0.35,
  ylim = c(0, 1),
  h_line = 0.2,
  translate = FALSE
)

Arguments

df

a data frame as constructed by [get_catch()]

models

a list of iscam model objects

regions

a vector of regions names in the order they are to appear in the facets

prop_msy

proportion of F_MSY

show_f_msy

show horizontal line at prop_msy * F_MSY

ribbon_alpha

transparency of the ribbon representing the credible interval for Ut

ylim

Limits to show on the y-axis. Implemented with [ggplot2::coord_cartesian()]

h_line

horizontal line value to plot

translate

Logical. If TRUE, translate to French

line_size

thickness of the mediat Ut line

Value

a ggplot object


pbs-assess/herringutils documentation built on Jan. 10, 2025, 8:43 a.m.