Plot an age class from the model
plot_ageclass.Rd
Plot an age class from the model
Plots age class from the model at the beginning of the year
Arguments
- fit
A gadget fit object. See
g3_fit
.- age
Integer specifying the age class to plot.
- biomass
Logical indicating whether biomass should be plotted instead of abundance.
- base_size
Base size parameter for ggplot. See ggtheme.
- return_data
Logical indicating whether to return data for the plot instead of the plot itself.
Value
A ggplot object.
Examples
data(fit)
plot_ageclass(fit)
plot_ageclass(fit, age = 5, biomass = TRUE)