Calculates the advised catch using the SlotLim framework and (optionally) returns
a plot of the percentage change relative to Cy across a grid of
(TBA, SAM) values, with the output overlaid.
Ay_percent: Percent change of advice relative to Cy.
plot: (only when plot = TRUE) a ggplot2 object
visualizing percent change across \(TBA \times SAM\).
Arguments
Cy
Numeric (length 1) > 0. Most recent annual catch, or multi-year average.
If landing size restrictions have changed, use catch_adjust to adjust
the starting catch value accordingly.
TBA
Numeric (length 1) > 0. Targeted Biomass Adjustment (see TBA()).
SAM
Numeric (length 1) > 0. Size Adherence Multiplier (see SAM()).
T1
Optional numeric (length 1) in (0,1). Maximum allowed proportional
decrease. If NULL, no lower cap.
T2
Optional numeric (length 1) in (0,1). Maximum allowed proportional
increase. If NULL, no upper cap.
plot
Logical. If TRUE, return a ggplot2 heatmap (default FALSE).