plot_assessment_age_component.RdPlot age-specific assessment components across assessment years
plot_assessment_age_component(
future.list,
assessment.years,
component = c("selectivity", "F", "weight", "maturity", "number"),
minyear = NULL,
maxyear = NULL,
reference = NULL,
reference_shape_col = NULL,
reference_shape = 4,
ncol = 3,
ylab = NULL,
y_scale = c("identity", "sqrt"),
show_points = component != "selectivity",
linetype_values = c("dashed", "solid"),
base_size = 11,
value_fun = mean,
estimate_label = NULL,
prediction_label = "Predicted"
)A list of future result objects.
Numeric or character vector of assessment years.
Character scalar. One of `"selectivity"`, `"F"`, `"weight"`, `"maturity"`, or `"number"`.
Optional numeric limits for years to draw.
Optional data frame with columns `age` and `value` to overlay as reference points.
Optional column name in `reference` mapped to point shape.
Shape used when `reference_shape_col = NULL`.
Number of facet columns.
Y-axis label. If `NULL`, a component-specific label is used.
Either `"identity"` or `"sqrt"`.
Logical. If `TRUE`, points are added to component lines.
Character vector passed to [ggplot2::scale_linetype_manual()].
Base font size passed to [ggplot2::theme_bw()].
Function used to summarise across simulations.
Labels used for years before and after the assessment year.
A ggplot object. The long table used for plotting is attached as the `"plot_data"` attribute.