powered by
Produces a frequency histogram of the total fish 'Biomass' or 'Eggs' deposition by 'Age' class.
ypr_plot_biomass(population, y = "Biomass", color = NULL)
A ggplot2 object.
An object of class ypr_population().
ypr_population()
A string of the term on the y-axis.
A string of the color around each bar (or NULL).
ypr_population() and ggplot2::geom_histogram()
ggplot2::geom_histogram()
ypr_plot_biomass(ypr_population(), color = "white")
Run the code above in your browser using DataLab