get_assessment_age_component_data.RdThis helper extracts age- and year-specific quantities from a list of future projection results and returns them in a long table. It is intended for post-assessment comparisons across assessment years.
get_assessment_age_component_data(
future.list,
assessment.years,
component = c("selectivity", "F", "weight", "maturity", "number"),
value_fun = mean,
estimate_label = NULL,
prediction_label = "Predicted"
)A list of future result objects.
Numeric or character vector of assessment years. Its length must match `future.list`.
Character scalar. One of `"selectivity"`, `"F"`, `"weight"`, `"maturity"`, or `"number"`.
Function used to summarise across simulations. Defaults to [mean()].
Labels used for years before and after the assessment year.
A tibble with columns `age`, `year`, `value`, `assess_year`, `type`, and `Assess`.