Decision Tables

Decision Tables

Relative Spawning Biomass (select rows only)

table_decision(base_model,
               type = "biomass",
               rows_to_show = c("a", "b", "e", "j", "l"),
               font_size = 6,
               header_font_size = 7)

Probability table definitions

Probabilities associated with biomass and fishing-based metrics for different catch streams (see Executive Summary: Tables i, j, and k; Figures k, l, and m)

Probabilities based on r end_yr catch

table_risk(base_model,
           forecast_yrs,
           index = 1,
           type = "probability",
           font_size = 8,
           header_font_size = 9) |> 
    row_spec(5,
           bold = table_highlight_bold,
           background = table_highlight_color)

Probabilities based on r end_yr catch

plot_fore_compare(base_model,
                  forecast_yrs = forecast_yrs,
                  fore_yr = forecast_yrs[1],
                  leg_pos = c(0.25, 0.75),
                  leg_font_size = 9,
                  remove_x_val = c(270)) +
  # Following make the legend smaller and legend items closer together
  theme(legend.key.size = unit(0.25, "cm"),
        legend.spacing.y = unit(0.01, "cm"),
        legend.box.background = element_rect(colour = "black")) +
  guides(color = guide_legend(byrow = TRUE))

Probabilities based on r end_yr and r end_yr + 1 catches

table_risk(base_model,
           forecast_yrs,
           index = 2,
           type = "probability",
           font_size = 8,
           header_font_size = 9) |> 
    row_spec(5,
           bold = table_highlight_bold,
           background = table_highlight_color)

Probabilities based on r end_yr and r end_yr + 1 catches

plot_fore_compare(base_model,
                  forecast_yrs = forecast_yrs,
                  fore_yr = forecast_yrs[2],
                  leg_pos = c(0.25, 0.3),
                  leg_font_size = 9,
                  remove_x_val = c(342, 651,767)) +
  # Following make the legend smaller and legend items closer together
  theme(legend.key.size = unit(0.25, "cm"),
        legend.spacing.y = unit(0.01, "cm"),
        legend.box.background = element_rect(colour = "black")) +
  guides(color = guide_legend(byrow = TRUE))

Probabilities based on r end_yr, r end_yr + 1, and r end_yr + 2 catches

table_risk(base_model,
           forecast_yrs,
           index = 3,
           type = "probability",
           font_size = 8,
           header_font_size = 9) |> 
    row_spec(5,
           bold = table_highlight_bold,
           background = table_highlight_color)

Probabilities based on r end_yr, r end_yr + 1, and r end_yr + 2 catches

plot_fore_compare(base_model,
                  forecast_yrs = forecast_yrs,
                  fore_yr = forecast_yrs[3],
                  leg_pos = c(0.25, 0.4),
                  leg_font_size = 9,
                  remove_x_val = c(259, 605, 717)) +
  # Following make the legend smaller and legend items closer together
  theme(legend.key.size = unit(0.25, "cm"),
        legend.spacing.y = unit(0.01, "cm"),
        legend.box.background = element_rect(colour = "black")) +
  guides(color = guide_legend(byrow = TRUE))


pacific-hake/hake-assessment documentation built on July 21, 2024, 8:19 a.m.