Skip to contents

Plot the distribution of length (cm) at age by year and season.

Usage

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

Arguments

data

A list containing the data passed to MakeADFun. Must include length_mu_ysa, length_sd_a, min_age, max_age, first_yr, and last_yr.

years

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

Value

A ggplot2 object displaying the distribution of length at age.