Skip to contents

Plot the mean weight (kg) at age by fishery for a subset of years.

Usage

plot_weight_at_age(
  fit = NULL,
  years = c(1931L, 2000L, 2010L, 2022L),
  data = NULL
)

Arguments

fit

An sbt_fit object, or a legacy model data list. It must include weight_fya.

years

A numeric vector specifying which years to display on the plot. Default is c(1931, 2000, 2010, 2022).

data

Legacy named alias for a model data list.

Value

A ggplot2 object displaying mean weight at age by fishery.