Produces a frequency histogram of the total fish 'Biomass' or 'Eggs' deposition by 'Age' class.

ypr_plot_biomass(population, y = "Biomass", color = NULL)

Arguments

population

An object of class ypr_population().

y

A string of the term on the y-axis.

color

A string of the color around each bar (or NULL).

Value

A ggplot2 object.

Examples

ypr_plot_biomass(ypr_population(), color = "white")