This function takes a list of lists created by the read_admb function plots the selectivity by fishing fleet, sex, year, type (retained or discarded) and model.
plot_selectivity(
M,
xlab = "Mid-point of size class (mm)",
ylab = "Selectivity",
tlab = "Type",
ilab = "Period year",
nrow = NULL,
ncol = NULL,
legend_loc = c(1.05, 0.05)
)
list of lists created by the read_admb function
the x-axis label for the plot
the y-axis label for the plot
the type (retained or discarded) label for the plot that appears above the key
the year label for the plot that appears above the key
the number of rows in the facet grid
the number of columns in the facet grid
(numeric vector); c(x,y) where x and y are the coordinates of the legend box
plot of selectivity