Round of index values in advice tables (for component r and b)
- If index values are above 100, round normally instead of using ICES rounding to avoid losing digits, e.g. 221 stays 221 instead of becoming 220
Adapted advice table (advice()
) to match updated ICES guidance for
completing single-stock advice 2024.
-
Text changes (e.g. changed “Fishing Pressure proxy” header to “Fishing pressure”, added “multiplier” where needed)
-
Added row with “Fishing pressure proxy” (inverted f)
Fixed bug in A()
when argument avg_years
is a vector of years (see
GitHub issue).
Adapted rounding in advice()
to match ICES advice sheets:
- Component f of the rfb rule; if units are supplied for the reference length and mean catch length, these values are not rounded according to ICES rounding rules, but instead to the nearest millimetre (e.g. “341 mm” or “34.1 cm”). The indicator value is still rounded according to ICES rounding rules.
Added more functionality for chr rule
-
The inverse indicator ratio for component f is now included in
indicator(f)
and can be shown withinverse_indicator(f)
. -
The inverse indicator ratio can now be plotted with
plot(f, inverse = TRUE)
and this plots mimics the one shown in ICES advice sheets.
Changes to advice()
for rfb/rb/chr rule
- Bugfix: the raw values for the rfb/rb/chr calculation in the summary table (before application of the stability clause) are now rounded to the nearest number (e.g. tonne).
- First version released for ICES assessment season 2023.