Skip to contents

Plot the mean length (cm) at age by year and season. Plus and minus one standard deviation is also plotted.

Usage

plot_length_at_age(data, years = c(1931, 2022))

Arguments

data

A list containing the data passed to MakeADFun. Must include length_mu_ysa and length_sd_a.

years

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

Value

A ggplot2 object displaying mean length at age with shaded standard deviation bands.